AftermarketDeviceConnection

Definition

Get a list of minted aftermarket devices ordered by tokenId in descending order.

Developer Notes

This GraphQL connection refers to the plural aftermarketdevices, hence an argument is needed in order for the query to target the specific subset of results.


Arguments

FieldSub-fieldTypeDescription

first

Returns the first records given the argument provided.

last

Returns the last records given the argument provided.

after

Used for pagination, returns records after given the identifier provided.

before

Used for pagination, returns records before given the identifier provided.

filterBy

beneficiary

0x address of the beneficiary user.

owner

0x address of the aftermarket device owner.

manufacturerId

The identifier for the manufacturer of the aftermarket device.

Sample Query

{
    aftermarketDevices(
        first: 10
        filterBy: { owner: "0x8E075A4696E84d5e69CA04F657Fac205FC9Fe31E" }
    ) {
        totalCount
    }
}

Last updated