Live-streamed transactions for an NFT asset.
This endpoint is available on Codex Growth and Enterprise Plans
Endpoint: onNftAssetsCreated
Method: POST
Arguments
Response
| Name | Type | Description |
|---|---|---|
| address | String! | The contract address of the NFT collection. |
| attributes | [NftAssetAttribute!] | The attributes for the NFT asset. |
| description | String | The description of the NFT asset. |
| id | String! | The ID of the NFT asset (
:
). |
| media | NftAssetMedia | The NFT asset media. |
| name | String | The name of the NFT asset. |
| networkId | Int! | The network ID the NFT collection is deployed on. |
| originalImage | String | The source image URI linked by smart contract metadata. |
| quantity | String | The number of NFT assets with the same NFT token ID. Only applicable for ERC1155 tokens. |
| rawAssetData | RawNftAssetData | Raw NFT metadata from the smart contract. |
| tokenId | String! | The token ID of the NFT asset. |
| uri | String | The URI provided by the smart contract. Typically JSON that contains metadata. |
Example
Query
subscription NftAssetsCreated($id: String) {
onNftAssetsCreated(id: $id) {
}
}Response
Ask questions, share what you're working on and request new features 👬👭