NFT Asset Events

Live-streamed transactions for an NFT asset.

ℹ️

This endpoint is available on Defined Growth and Enterprise Plans

Endpoint: onNftAssetsCreated

Method: POST

Arguments

NameTypeDescription
addressString

The contract address for the NFT collection

networkIdInt

The network ID the NFT collection is deployed on.

tokenIdString

The token ID of the NFT asset.

Response

NameTypeDescription
addressString!The contract address of the NFT collection.
attributes[NftAssetAttribute!]The attributes for the NFT asset.
descriptionStringThe description of the NFT asset.
idString!The ID of the NFT asset (address:networkId).
mediaNftAssetMediaThe NFT asset media.
nameStringThe name of the NFT asset.
networkIdInt!The network ID the NFT collection is deployed on.
originalImageStringThe source image URI linked by smart contract metadata.
quantityStringThe number of NFT assets with the same NFT token ID. Only applicable for ERC1155 tokens.
tokenIdString!The token ID of the NFT asset.
uriStringThe URI provided by the smart contract. Typically JSON that contains metadata.

Example

Query

subscription NftAssetsCreated($id: String) {
  onNftAssetsCreated(id: $id) {
  }
}

Response

πŸ‘‹

Join our Discord

Ask questions, share what you're working on and request new features :two-men-holding-hands::two-women-holding-hands: