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
{
aftermarketDevice(by: { tokenId: 1, address: "0x", serial: "123" })
}
Hierarchy and Relations
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.
mintedAt
Time!
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.
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.
Last updated
Was this helpful?