Vehicle

Definition

The vehicle in DIMO is the moving object that was registered. This refers to viewing a particular vehicle.

Developer Notes

This GraphQL node refers to the singular vehicle, hence an argument is needed in order for the query to be specific.


Arguments

Filter FieldType

tokenId

{
    vehicle(tokenId: 123) {
        id
        name
    }
}

Hierarchy and Relations

id

A unique global identifier for the vehicle.

tokenId

The ERC-721 token identifier for the vehicle.

manufacturer

The manufacturer of the vehicle.

definition

Definition

The device definition for this vehicle, including make, model, and year among other things.

image

The image URL of the vehicle.

owner

A 20-byte Ethereum address registered on the blockchain for the vehicle, encoded as a checksummed hex string with 0x prefix.

mintedAt

The RFC-3339 timestamp at which the vehicle was minted, formatted as YYYY-MM-DDThh:mm:ssZ.

aftermarketDevice

The paired aftermarket device, if any.

privileges

PrivilegesConnection!

A Relay-style connection listing of active privilege grants on this vehicle.

syntheticDevice

The paired synthetic device, if any.

dcn

DIMO Canonical Name. Human-readable labels for this vehicle, if any.

earnings

Reward earnings for the vehicle.

name

A 3-word-representation of the vehicle, generated randomly.

Last updated