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.

Developer Notes

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


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

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

mintedAt

claimedAt

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