AftermarketDevice

Definition

The AftermarketDevice resource is a hardware connection established to connect the vehicle to the DIMO network. This refers to viewing a particular device.


Arguments

Filter By Field
Type

tokenId

address

serial

{
    aftermarketDevice(by: { tokenId: 1, address: "0x", serial: "123" })
}

Hierarchy and Relations

id

A unique global identifier for the aftermarket device.

tokenId

The ERC-721 token identifier for the device.

manufacturer

The manufacturer of the device.

address

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

owner

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

serial

The serial number on the physical device.

imei

The International Mobile Equipment Identity (IMEI) for the device.

mintedAt

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

claimedAt

The RFC-3339 timestamp at which the device was claimed, formatted as YYYY-MM-DDThh:mm:ssZ. Shows null if the device has not been claimed. Devices must be claimed before pairing.

vehicle

The vehicle, if any, with which the device is paired.

beneficiary

A 20-byte Ethereum address registered on the blockchain as the beneficiary of this device. This is defined as who receives any associated rewards. Defaults to the owner.

name

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

image

The image URL of the device.

earnings

The earnings attached to the aftermarket device.

Last updated

Was this helpful?