nft-service-api
GraphQL API Reference
GraphQl endpoints for nft-service!
API Endpoints
Queries
balanceOf
balanceOf
Description
🔓 Public
Returns token balance of user
Response
Returns a String!
Arguments
Example
Query
Variables
Response
collection
collection
Description
🔓 Public
Returns single collection
Response
Returns a Collection
Arguments
network
- NetworkName!
id
- String!
Example
Query
Variables
Response
collectionMetadata
collectionMetadata
Description
🔒 JWT Token
Retrieve collection metadata by id
Response
Returns a CollectionMetadataDto!
Arguments
id
- Float!
Example
Query
Variables
Response
collections
collections
Description
🔓 Public
Returns collections
Response
Returns [Collection!]!
Arguments
input
- CollectionsInput!
Example
Query
Variables
Response
currentPerson
currentPerson
Description
🔒 JWT Token
Returns person from the context
Response
Returns a PersonDto!
Example
Query
Response
fees
fees
Description
🔓 Public
Returns market fees
Response
Returns a Fees!
Arguments
network
- NetworkName!
Example
Query
Variables
Response
listCollectionMetadata
listCollectionMetadata
Description
🔒 JWT Token
Returns list of collection metadata
Response
Returns a CollectionMetadataListResDTO!
Arguments
pagination
- PaginationParams!
Example
Query
Variables
Response
listMetadata
listMetadata
Description
🔒 JWT Token
Returns list of NFT metadata
Response
Returns a NftMetadataListResDTO!
Arguments
pagination
- PaginationParams!
Example
Query
Variables
Response
metadata
metadata
Description
🔒 JWT Token
Retrieve metadata by id
Response
Returns a NftMetadataDTO!
Arguments
id
- Float!
Example
Query
Variables
Response
nftUses
nftUses
Description
🔒 JWT Token
Licensed nft buyer rights
Response
Returns a NftUsesDTO!
Example
Query
Response
person
person
Description
🔓 Public
Returns single person
Response
Returns a PersonDto
Arguments
identifier
- PersonIdentifier!
Example
Query
Variables
Response
persons
persons
Description
🔓 Public
Returns persons
Response
Returns a Persons!
Arguments
pagination
- PaginationParams!
Example
Query
Variables
Response
token
token
Description
🔓 Public
Returns single token
Response
Returns a Token
Arguments
network
- NetworkName!
id
- String!
Example
Query
Variables
Response
tokens
tokens
Description
🔓 Public
Returns tokens
Response
Returns [Token!]!
Arguments
input
- tokensInput!
Example
Query
Variables
Response
Mutations
createAvatarUrl
createAvatarUrl
Description
🔒 JWT Token
Creates Avatar URL
Response
Returns an AvatarLinkResDTO!
Arguments
avatarLink
- AvatarLinkReqDTO!
Example
Query
Variables
Response
createCollectionAssetsUploadUrl
createCollectionAssetsUploadUrl
Description
🔒 JWT Token
Creates Metadata URL
Response
Returns a CollectionMetadataLinkResDTO!
Arguments
collectionMetadataLink
- CollectionMetadataLinkReqDTO!
id
- Float!
id of the collection-metadata draft
Example
Query
Variables
Response
createUrl
createUrl
Description
🔒 JWT Token
Creates Metadata URL
Response
Returns a NftMetadataLinkResDTO!
Arguments
nftMetadataLink
- NftMetadataLinkReqDTO!
id
- Float!
id of the nft-metadata draft
Example
Query
Variables
Response
saveCollectionDraft
saveCollectionDraft
Description
🔒 JWT Token
Save collection metadata as a draft. Does not deploy an NFT contract. You can edit the data.
Response
Returns a CollectionMetadataDto!
Arguments
collectionMetadataDraft
- CollectionMetadataDraftReqDTO!
Example
Query
Variables
Response
saveDraft
saveDraft
Description
🔒 JWT Token
Save nft metadata as a draft. Does not create a token. You can edit the data.
Response
Returns a NftMetadataDraftResDTO!
Arguments
nftMetadataDraft
- NftMetadataDraftReqDTO!
Example
Query
Variables
Response
updateCollectionDraft
updateCollectionDraft
Description
🔒 JWT Token
Updates collection metadata draft
Response
Returns a CollectionMetadataDto!
Arguments
collectionMetadataDraft
- CollectionMetadataDraftReqDTO!
id
- Float!
Example
Query
Variables
Response
updateDraft
updateDraft
Description
🔒 JWT Token
Updates nft metadata draft
Response
Returns a NftMetadataDraftResDTO!
Arguments
updateNFTMetadataDraft
- NftMetadataDraftReqDTO!
id
- Float!
Example
Query
Variables
Response
updatePerson
updatePerson
Description
🔒 JWT Token
Updates person
Response
Returns a PersonDto!
Arguments
updatePerson
- UpdatePerson!
Example
Query
Variables
Response
Types
AddressResolverType
Values
PERSON_ID
OWNER_URI
Example
AvatarLinkReqDTO
Fields
Example
AvatarLinkResDTO
Fields
avatarUploadUrl
- String!
Example
BigInt
Example
BlockChangedFilter
Fields
number_gte
- Int!
Example
Block_height
Fields
Example
Boolean
Description
The Boolean
scalar type represents true
or false
.
Example
Bytes
Example
Collection
Fields
id
- String!
owner
- String!
tokens
- [Token!]
address
- String!
contractURI
- String!
networkName
- NetworkName!
metadata
- CollectionMetadataDto
createdAt
- String!
updatedAt
- String!
Example
CollectionContract_filter
Fields
_change_block
- BlockChangedFilter
Filter for the block changed event.
address
- Bytes
address_contains
- Bytes
address_gt
- Bytes
address_gte
- Bytes
address_in
- [Bytes!]
address_lt
- Bytes
address_lte
- Bytes
address_not
- Bytes
address_not_contains
- Bytes
address_not_in
- [Bytes!]
contractURI
- String
contractURI_contains
- String
contractURI_contains_nocase
- String
contractURI_ends_with
- String
contractURI_ends_with_nocase
- String
contractURI_gt
- String
contractURI_gte
- String
contractURI_in
- [String!]
contractURI_lt
- String
contractURI_lte
- String
contractURI_not
- String
contractURI_not_contains
- String
contractURI_not_contains_nocase
- String
contractURI_not_ends_with
- String
contractURI_not_ends_with_nocase
- String
contractURI_not_in
- [String!]
contractURI_not_starts_with
- String
contractURI_not_starts_with_nocase
- String
contractURI_starts_with
- String
contractURI_starts_with_nocase
- String
createdAt
- String
createdAt_contains
- String
createdAt_contains_nocase
- String
createdAt_ends_with
- String
createdAt_ends_with_nocase
- String
createdAt_gt
- String
createdAt_gte
- String
createdAt_in
- [String!]
createdAt_lt
- String
createdAt_lte
- String
createdAt_not
- String
createdAt_not_contains
- String
createdAt_not_contains_nocase
- String
createdAt_not_ends_with
- String
createdAt_not_ends_with_nocase
- String
createdAt_not_in
- [String!]
createdAt_not_starts_with
- String
createdAt_not_starts_with_nocase
- String
createdAt_starts_with
- String
createdAt_starts_with_nocase
- String
id
- ID
id_gt
- ID
id_gte
- ID
id_in
- [ID!]
id_lt
- ID
id_lte
- ID
id_not
- ID
id_not_in
- [ID!]
owner
- Bytes
owner_contains
- Bytes
owner_gt
- Bytes
owner_gte
- Bytes
owner_in
- [Bytes!]
owner_lt
- Bytes
owner_lte
- Bytes
owner_not
- Bytes
owner_not_contains
- Bytes
owner_not_in
- [Bytes!]
tokens_
- Token_filter
updatedAt
- String
updatedAt_contains
- String
updatedAt_contains_nocase
- String
updatedAt_ends_with
- String
updatedAt_ends_with_nocase
- String
updatedAt_gt
- String
updatedAt_gte
- String
updatedAt_in
- [String!]
updatedAt_lt
- String
updatedAt_lte
- String
updatedAt_not
- String
updatedAt_not_contains
- String
updatedAt_not_contains_nocase
- String
updatedAt_not_ends_with
- String
updatedAt_not_ends_with_nocase
- String
updatedAt_not_in
- [String!]
updatedAt_not_starts_with
- String
updatedAt_not_starts_with_nocase
- String
updatedAt_starts_with
- String
updatedAt_starts_with_nocase
- String
Example
CollectionContract_orderBy
Values
address
contractURI
createdAt
id
owner
tokens
updatedAt
Example
CollectionEntity
Description
represents an element of the hierarchy within the enterprise.
Fields
id
- ID!
Auto-incrementing identifier.
type
- CollectionEntityType!
Specifies the type of entry. Represents the hierarchy level within the enterprise.
entityUri
- String
Tenant ID to which artists, enterprise and labels belong.
name
- String!
Entity name.
description
- String
Entity description.
avatarUrl
- String
avatar url, displayed on the storefront.
bannerUrl
- String
banner url, displayed on the storefront.
createdAt
- String!
Time at which the object was created.
updatedAt
- String!
Time at which the object was last updated.
Example
CollectionEntityType
Values
ENTERPRISE
ARTIST
LABEL
Example
CollectionMetadataDraftReqDTO
Fields
Example
CollectionMetadataDto
Fields
id
- Int
id of the collection
userSub
- String
sub of the user
name
- String
name of the collection
symbol
- String
symbol of the collection
description
- String
description of the collection
coverImageS3Key
- String
s3 key of the cover image
coverImageS3Url
- String
s3 link of the cover image
coverImageIpfsUrl
- String
ipfs link of the cover image
coverImageIpfsHash
- String
ipfs hash of the cover image
bannerImageS3Key
- String
s3 key of the banner image
bannerImageS3Url
- String
s3 link of the banner image
bannerImageIpfsHash
- String
ipfs hash of the banner image
bannerImageIpfsUrl
- String
ipfs link of the banner image
externalLink
- String
external link of the collection
defaultRoyalties
- String
default royalty basis point
defaultRoyaltyRecipient
- String
default royalty recipient
metadataIpfsHash
- String
ipfs link of contract level metadata
metadataIpfsUrl
- String
ipfs link of contract level metadata
networkName
- NetworkName
name of the network
status
- FileStatus
status of the uploading files
Example
CollectionMetadataLinkReqDTO
Fields
coverFileName
- String!
the cover of the collection | the cover name must contain its extension -> [name].jpg
coverFileMimeType
- String!
mime type of the collection cover file -> image/jpeg
bannerFileName
- String
the banner of the collection | the banner name must contain its extension -> [name].jpg
bannerFileMimeType
- String
mime type of the collection banner file -> image/jpeg
Example
CollectionMetadataLinkResDTO
Fields
Example
CollectionMetadataListResDTO
Fields
items
- [CollectionMetadataDto!]!
count
- Float
Example
CollectionsInput
Fields
network
- NetworkName!
Name of the blockchain network on which the transaction occurs
ownedBy
- OwnedBy
Parameters filtering collections by owner. One collection can have only one owner.
queryParams
- collectionContractsQueryArgs
Parameters filtering collections from subgraph.
Example
DisplayType
Values
DATE
NUMBER
BOOST_NUMBER
BOOST_PERCENTAGE
Example
Fees
Fields
Example
FileStatus
Values
PENDING_UPLOAD
UPLOADED
DRAFT
Example
FileType
Values
IMAGE
MEDIA
Example
Float
Description
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
ID
Description
The ID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4"
) or integer (such as 4
) input value will be accepted as an ID.
Example
Int
Description
The Int
scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
Listing
Fields
Example
Listing_filter
Fields
_change_block
- BlockChangedFilter
Filter for the block changed event.
amountListed
- BigInt
amountListed_gt
- BigInt
amountListed_gte
- BigInt
amountListed_in
- [BigInt!]
amountListed_lt
- BigInt
amountListed_lte
- BigInt
amountListed_not
- BigInt
amountListed_not_in
- [BigInt!]
amountRemaining
- BigInt
amountRemaining_gt
- BigInt
amountRemaining_gte
- BigInt
amountRemaining_in
- [BigInt!]
amountRemaining_lt
- BigInt
amountRemaining_lte
- BigInt
amountRemaining_not
- BigInt
amountRemaining_not_in
- [BigInt!]
and
- [Listing_filter]
createdAt
- String
createdAt_contains
- String
createdAt_contains_nocase
- String
createdAt_ends_with
- String
createdAt_ends_with_nocase
- String
createdAt_gt
- String
createdAt_gte
- String
createdAt_in
- [String!]
createdAt_lt
- String
createdAt_lte
- String
createdAt_not
- String
createdAt_not_contains
- String
createdAt_not_contains_nocase
- String
createdAt_not_ends_with
- String
createdAt_not_ends_with_nocase
- String
createdAt_not_in
- [String!]
createdAt_not_starts_with
- String
createdAt_not_starts_with_nocase
- String
createdAt_starts_with
- String
createdAt_starts_with_nocase
- String
id
- ID
id_gt
- ID
id_gte
- ID
id_in
- [ID!]
id_lt
- ID
id_lte
- ID
id_not
- ID
id_not_in
- [ID!]
onSale
- Boolean
onSale_in
- [Boolean!]
onSale_not
- Boolean
onSale_not_in
- [Boolean!]
or
- [Listing_filter]
salePrice
- BigInt
salePrice_gt
- BigInt
salePrice_gte
- BigInt
salePrice_in
- [BigInt!]
salePrice_lt
- BigInt
salePrice_lte
- BigInt
salePrice_not
- BigInt
salePrice_not_in
- [BigInt!]
seller
- String
seller_
- Owner_filter
seller_contains
- String
seller_contains_nocase
- String
seller_ends_with
- String
seller_ends_with_nocase
- String
seller_gt
- String
seller_gte
- String
seller_in
- [String!]
seller_lt
- String
seller_lte
- String
seller_not
- String
seller_not_contains
- String
seller_not_contains_nocase
- String
seller_not_ends_with
- String
seller_not_ends_with_nocase
- String
seller_not_in
- [String!]
seller_not_starts_with
- String
seller_not_starts_with_nocase
- String
seller_starts_with
- String
seller_starts_with_nocase
- String
token
- String
token_
- Token_filter
token_contains
- String
token_contains_nocase
- String
token_ends_with
- String
token_ends_with_nocase
- String
token_gt
- String
token_gte
- String
token_in
- [String!]
token_lt
- String
token_lte
- String
token_not
- String
token_not_contains
- String
token_not_contains_nocase
- String
token_not_ends_with
- String
token_not_ends_with_nocase
- String
token_not_in
- [String!]
token_not_starts_with
- String
token_not_starts_with_nocase
- String
token_starts_with
- String
token_starts_with_nocase
- String
updatedAt
- String
updatedAt_contains
- String
updatedAt_contains_nocase
- String
updatedAt_ends_with
- String
updatedAt_ends_with_nocase
- String
updatedAt_gt
- String
updatedAt_gte
- String
updatedAt_in
- [String!]
updatedAt_lt
- String
updatedAt_lte
- String
updatedAt_not
- String
updatedAt_not_contains
- String
updatedAt_not_contains_nocase
- String
updatedAt_not_ends_with
- String
updatedAt_not_ends_with_nocase
- String
updatedAt_not_in
- [String!]
updatedAt_not_starts_with
- String
updatedAt_not_starts_with_nocase
- String
updatedAt_starts_with
- String
updatedAt_starts_with_nocase
- String
Example
MintedBy
Fields
type
- AddressResolverType
The value type by which the tokens/collections are filtered. PERSON_ID - Person model identifier, OWNER_URI - Model identifier from the revelator database. ID scheme: [tenantName]|[entityType]|[number] (Revelator|enterprise|4)
value
- String
The value by which the tokens/collections are filtered.
Example
NetworkName
Values
ropsten
kovan
ownet
mainnet
binance
bnbtest
sepolia
local
test
polygon
goerli
mumbai
ethereum
shibuya
amoy
base
Example
NftLicenceDto
Fields
revelatorTermsAndConditions
- Boolean
nftTitle
- String
label
- String
royaltyRate
- String
personalUses
- [NftUseDTO!]
commercialUses
- [NftUseDTO!]
Example
NftMetadataAttributeInput
Fields
Example
NftMetadataAttributeObject
Fields
Example
NftMetadataDTO
Fields
id
- Int
userSub
- String
title
- String
description
- String
artistId
- String
fileType
- FileType
networkName
- NetworkName
s3Key
- String
s3CoverKey
- String
ipfsNftUrl
- String
ipfsCoverUrl
- String
ipfsMetadataUrl
- String
ipfsNftHash
- String
ipfsCoverHash
- String
licenceS3Key
- String
ipfsLicenceHash
- String
nftLicence
- NftLicenceDto
ipfsMetadataHash
- String
status
- FileStatus
backgroundColor
- String
externalUrl
- String
youtubeUrl
- String
attributes
- [NftMetadataAttributeObject!]
ipfsNftPublicUrl
- String
ipfsCoverPublicUrl
- String
ipfsMetadataPublicUrl
- String
ipfsLicencePublicUrl
- String
Example
NftMetadataDraftReqDTO
Fields
Example
NftMetadataDraftResDTO
Fields
Example
NftMetadataLinkReqDTO
Fields
Example
NftMetadataLinkResDTO
Fields
Example
NftMetadataListResDTO
Fields
items
- [NftMetadataDraftResDTO!]!
count
- Float
Example
NftUseDTO
Fields
Example
NftUseType
Values
personal
commercial
Example
NftUsesDTO
Fields
list
- [NftUseDTO!]!
Example
OrderDirection
Description
Defines the order direction, either ascending or descending
Values
asc
desc
Example
OwnedBy
Fields
type
- AddressResolverType
The value type by which the tokens/collections are filtered. PERSON_ID - Person model identifier, OWNER_URI - Model identifier from the revelator database. ID scheme: [tenantName]|[entityType]|[number] (Revelator|enterprise|4)
value
- String
The value by which the tokens/collections are filtered.
Example
Owner
Fields
address
- String!
Example
OwnerWithMetadata
Fields
Example
Owner_filter
Fields
_change_block
- BlockChangedFilter
Filter for the block changed event.
address
- Bytes
address_contains
- Bytes
address_gt
- Bytes
address_gte
- Bytes
address_in
- [Bytes!]
address_lt
- Bytes
address_lte
- Bytes
address_not
- Bytes
address_not_contains
- Bytes
address_not_in
- [Bytes!]
and
- [Owner_filter]
id
- ID
id_gt
- ID
id_gte
- ID
id_in
- [ID!]
id_lt
- ID
id_lte
- ID
id_not
- ID
id_not_in
- [ID!]
listings_
- Listing_filter
or
- [Owner_filter]
purchases_
- Purchase_filter
tokens_
- TokenOwner_filter
Example
PaginationParams
Fields
Example
PersonDto
Fields
Example
PersonIdentifier
Fields
Example
Persons
Fields
items
- [PersonDto!]
count
- Float
Example
Purchase
Fields
Example
Purchase_filter
Fields
_change_block
- BlockChangedFilter
Filter for the block changed event.
amount
- BigInt
amount_gt
- BigInt
amount_gte
- BigInt
amount_in
- [BigInt!]
amount_lt
- BigInt
amount_lte
- BigInt
amount_not
- BigInt
amount_not_in
- [BigInt!]
and
- [Purchase_filter]
buyer
- String
buyer_
- Owner_filter
buyer_contains
- String
buyer_contains_nocase
- String
buyer_ends_with
- String
buyer_ends_with_nocase
- String
buyer_gt
- String
buyer_gte
- String
buyer_in
- [String!]
buyer_lt
- String
buyer_lte
- String
buyer_not
- String
buyer_not_contains
- String
buyer_not_contains_nocase
- String
buyer_not_ends_with
- String
buyer_not_ends_with_nocase
- String
buyer_not_in
- [String!]
buyer_not_starts_with
- String
buyer_not_starts_with_nocase
- String
buyer_starts_with
- String
buyer_starts_with_nocase
- String
createdAt
- String
createdAt_contains
- String
createdAt_contains_nocase
- String
createdAt_ends_with
- String
createdAt_ends_with_nocase
- String
createdAt_gt
- String
createdAt_gte
- String
createdAt_in
- [String!]
createdAt_lt
- String
createdAt_lte
- String
createdAt_not
- String
createdAt_not_contains
- String
createdAt_not_contains_nocase
- String
createdAt_not_ends_with
- String
createdAt_not_ends_with_nocase
- String
createdAt_not_in
- [String!]
createdAt_not_starts_with
- String
createdAt_not_starts_with_nocase
- String
createdAt_starts_with
- String
createdAt_starts_with_nocase
- String
id
- ID
id_gt
- ID
id_gte
- ID
id_in
- [ID!]
id_lt
- ID
id_lte
- ID
id_not
- ID
id_not_in
- [ID!]
or
- [Purchase_filter]
salePrice
- BigInt
salePrice_gt
- BigInt
salePrice_gte
- BigInt
salePrice_in
- [BigInt!]
salePrice_lt
- BigInt
salePrice_lte
- BigInt
salePrice_not
- BigInt
salePrice_not_in
- [BigInt!]
token
- String
token_
- Token_filter
token_contains
- String
token_contains_nocase
- String
token_ends_with
- String
token_ends_with_nocase
- String
token_gt
- String
token_gte
- String
token_in
- [String!]
token_lt
- String
token_lte
- String
token_not
- String
token_not_contains
- String
token_not_contains_nocase
- String
token_not_ends_with
- String
token_not_ends_with_nocase
- String
token_not_in
- [String!]
token_not_starts_with
- String
token_not_starts_with_nocase
- String
token_starts_with
- String
token_starts_with_nocase
- String
value
- BigInt
value_gt
- BigInt
value_gte
- BigInt
value_in
- [BigInt!]
value_lt
- BigInt
value_lte
- BigInt
value_not
- BigInt
value_not_in
- [BigInt!]
Example
String
Description
The String
scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
Token
Fields
id
- String!
tokenId
- String!
collectionContract
- Collection
minter
- String!
enterprise
- CollectionEntity
artist
- CollectionEntity
amount
- String!
royaltyRecipient
- String
royaltyNumerator
- String
owners
- [TokenOwner!]!
ownersWithMetadata
- [OwnerWithMetadata!]
listing
- Listing!
purchases
- [Purchase!]!
tokenURI
- String!
metadata
- NftMetadataDTO
nftUrl
- String
coverUrl
- String
networkName
- NetworkName!
createdAt
- String!
updatedAt
- String!
Example
TokenOwner
Fields
Example
TokenOwner_filter
Fields
_change_block
- BlockChangedFilter
Filter for the block changed event.
amountDeposited
- BigInt
amountDeposited_gt
- BigInt
amountDeposited_gte
- BigInt
amountDeposited_in
- [BigInt!]
amountDeposited_lt
- BigInt
amountDeposited_lte
- BigInt
amountDeposited_not
- BigInt
amountDeposited_not_in
- [BigInt!]
amountOwned
- BigInt
amountOwned_gt
- BigInt
amountOwned_gte
- BigInt
amountOwned_in
- [BigInt!]
amountOwned_lt
- BigInt
amountOwned_lte
- BigInt
amountOwned_not
- BigInt
amountOwned_not_in
- [BigInt!]
and
- [TokenOwner_filter]
id
- ID
id_gt
- ID
id_gte
- ID
id_in
- [ID!]
id_lt
- ID
id_lte
- ID
id_not
- ID
id_not_in
- [ID!]
or
- [TokenOwner_filter]
owner
- String
owner_
- Owner_filter
owner_contains
- String
owner_contains_nocase
- String
owner_ends_with
- String
owner_ends_with_nocase
- String
owner_gt
- String
owner_gte
- String
owner_in
- [String!]
owner_lt
- String
owner_lte
- String
owner_not
- String
owner_not_contains
- String
owner_not_contains_nocase
- String
owner_not_ends_with
- String
owner_not_ends_with_nocase
- String
owner_not_in
- [String!]
owner_not_starts_with
- String
owner_not_starts_with_nocase
- String
owner_starts_with
- String
owner_starts_with_nocase
- String
token
- String
token_
- Token_filter
token_contains
- String
token_contains_nocase
- String
token_ends_with
- String
token_ends_with_nocase
- String
token_gt
- String
token_gte
- String
token_in
- [String!]
token_lt
- String
token_lte
- String
token_not
- String
token_not_contains
- String
token_not_contains_nocase
- String
token_not_ends_with
- String
token_not_ends_with_nocase
- String
token_not_in
- [String!]
token_not_starts_with
- String
token_not_starts_with_nocase
- String
token_starts_with
- String
token_starts_with_nocase
- String
Example
Token_filter
Fields
_change_block
- BlockChangedFilter
Filter for the block changed event.
amount
- BigInt
amount_gt
- BigInt
amount_gte
- BigInt
amount_in
- [BigInt!]
amount_lt
- BigInt
amount_lte
- BigInt
amount_not
- BigInt
amount_not_in
- [BigInt!]
and
- [Token_filter]
collectionContract
- String
collectionContract_
- CollectionContract_filter
collectionContract_contains
- String
collectionContract_contains_nocase
- String
collectionContract_ends_with
- String
collectionContract_ends_with_nocase
- String
collectionContract_gt
- String
collectionContract_gte
- String
collectionContract_in
- [String!]
collectionContract_lt
- String
collectionContract_lte
- String
collectionContract_not
- String
collectionContract_not_contains
- String
collectionContract_not_contains_nocase
- String
collectionContract_not_ends_with
- String
collectionContract_not_ends_with_nocase
- String
collectionContract_not_in
- [String!]
collectionContract_not_starts_with
- String
collectionContract_not_starts_with_nocase
- String
collectionContract_starts_with
- String
collectionContract_starts_with_nocase
- String
createdAt
- String
createdAt_contains
- String
createdAt_contains_nocase
- String
createdAt_ends_with
- String
createdAt_ends_with_nocase
- String
createdAt_gt
- String
createdAt_gte
- String
createdAt_in
- [String!]
createdAt_lt
- String
createdAt_lte
- String
createdAt_not
- String
createdAt_not_contains
- String
createdAt_not_contains_nocase
- String
createdAt_not_ends_with
- String
createdAt_not_ends_with_nocase
- String
createdAt_not_in
- [String!]
createdAt_not_starts_with
- String
createdAt_not_starts_with_nocase
- String
createdAt_starts_with
- String
createdAt_starts_with_nocase
- String
id
- ID
id_gt
- ID
id_gte
- ID
id_in
- [ID!]
id_lt
- ID
id_lte
- ID
id_not
- ID
id_not_in
- [ID!]
listing_
- Listing_filter
minter
- Bytes
minter_contains
- Bytes
minter_gt
- Bytes
minter_gte
- Bytes
minter_in
- [Bytes!]
minter_lt
- Bytes
minter_lte
- Bytes
minter_not
- Bytes
minter_not_contains
- Bytes
minter_not_in
- [Bytes!]
or
- [Token_filter]
owners_
- TokenOwner_filter
purchases_
- Purchase_filter
royaltyNumerator
- BigInt
royaltyNumerator_gt
- BigInt
royaltyNumerator_gte
- BigInt
royaltyNumerator_in
- [BigInt!]
royaltyNumerator_lt
- BigInt
royaltyNumerator_lte
- BigInt
royaltyNumerator_not
- BigInt
royaltyNumerator_not_in
- [BigInt!]
royaltyRecipient
- Bytes
royaltyRecipient_contains
- Bytes
royaltyRecipient_gt
- Bytes
royaltyRecipient_gte
- Bytes
royaltyRecipient_in
- [Bytes!]
royaltyRecipient_lt
- Bytes
royaltyRecipient_lte
- Bytes
royaltyRecipient_not
- Bytes
royaltyRecipient_not_contains
- Bytes
royaltyRecipient_not_in
- [Bytes!]
tokenId
- BigInt
tokenId_gt
- BigInt
tokenId_gte
- BigInt
tokenId_in
- [BigInt!]
tokenId_lt
- BigInt
tokenId_lte
- BigInt
tokenId_not
- BigInt
tokenId_not_in
- [BigInt!]
tokenURI
- String
tokenURI_contains
- String
tokenURI_contains_nocase
- String
tokenURI_ends_with
- String
tokenURI_ends_with_nocase
- String
tokenURI_gt
- String
tokenURI_gte
- String
tokenURI_in
- [String!]
tokenURI_lt
- String
tokenURI_lte
- String
tokenURI_not
- String
tokenURI_not_contains
- String
tokenURI_not_contains_nocase
- String
tokenURI_not_ends_with
- String
tokenURI_not_ends_with_nocase
- String
tokenURI_not_in
- [String!]
tokenURI_not_starts_with
- String
tokenURI_not_starts_with_nocase
- String
tokenURI_starts_with
- String
tokenURI_starts_with_nocase
- String
updatedAt
- String
updatedAt_contains
- String
updatedAt_contains_nocase
- String
updatedAt_ends_with
- String
updatedAt_ends_with_nocase
- String
updatedAt_gt
- String
updatedAt_gte
- String
updatedAt_in
- [String!]
updatedAt_lt
- String
updatedAt_lte
- String
updatedAt_not
- String
updatedAt_not_contains
- String
updatedAt_not_contains_nocase
- String
updatedAt_not_ends_with
- String
updatedAt_not_ends_with_nocase
- String
updatedAt_not_in
- [String!]
updatedAt_not_starts_with
- String
updatedAt_not_starts_with_nocase
- String
updatedAt_starts_with
- String
updatedAt_starts_with_nocase
- String
Example
Token_orderBy
Values
amount
collectionContract
collectionContract__address
collectionContract__contractURI
collectionContract__createdAt
collectionContract__id
collectionContract__owner
collectionContract__updatedAt
createdAt
id
listing
listing__amountListed
listing__amountRemaining
listing__createdAt
listing__id
listing__onSale
listing__salePrice
listing__updatedAt
minter
owners
purchases
royaltyNumerator
royaltyRecipient
tokenId
tokenURI
updatedAt
Example
UpdatePerson
Fields
Example
_SubgraphErrorPolicy_
Values
allow
Data will be returned even if the subgraph has indexing errors
deny
If the subgraph has indexing errors, data will be omitted. The default.
Example
collectionContractsQueryArgs
Fields
block
- Block_height
The block at which the query should be executed. Can either be a { hash: Bytes }
value containing a block hash, a { number: Int }
containing the block number, or a { number_gte: Int }
containing the minimum block number. In the case of number_gte
, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
first
- Int
orderBy
- CollectionContract_orderBy
orderDirection
- OrderDirection
skip
- Int
subgraphError
- _SubgraphErrorPolicy_!
Set to allow
to receive data even if the subgraph has skipped over errors while syncing. Default = deny
where
- CollectionContract_filter
Example
tokensInput
Fields
network
- NetworkName!
Name of the blockchain network on which the transaction occurs
ownedBy
- OwnedBy
Parameters filtering tokens by owners. One token can have many owners. The owner does not have to be the creator. The token may not have the creator in the list of owners.
mintedBy
- MintedBy
Parameters filtering tokens by minters. One token can have one minter. Minter is the creator of the token or the entity that created the token on behalf of the artist.
byCollectionEntityUri
- String
Parameters filtering tokens by collectionEntity. CollectionEntity is the creator of the token, either a creator group to which the minters belong, or an organization that created the tokens on behalf of the artists.
queryParams
- tokensQueryArgs
Parameters filtering tokens from subgraph.
Example
tokensQueryArgs
Fields
block
- Block_height
The block at which the query should be executed. Can either be a { hash: Bytes }
value containing a block hash, a { number: Int }
containing the block number, or a { number_gte: Int }
containing the minimum block number. In the case of number_gte
, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.
first
- Int
orderBy
- Token_orderBy
orderDirection
- OrderDirection
skip
- Int
subgraphError
- _SubgraphErrorPolicy_!
Set to allow
to receive data even if the subgraph has skipped over errors while syncing. Default = deny
where
- Token_filter
Example
Last updated