Nft API
Get contract's mint NFT transfers
Request
method:
POST
url:
/eth/nft/{contract}/mints
path:
Name | Type | Description | Example |
---|---|---|---|
contract | string | The contract address which generates these transfers. | 0x0c600d41b9c7656e60c0bf76d79b1532b4770d0c |
query:
Name | Type | Description | Example |
---|---|---|---|
txhash | string | The hash of the transaction which generates these transfers. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
to | string | The token's new owner. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
Response
Array<NftTransfer>
Get amount of contract's mint NFT transfers
Request
method:
POST
url:
/eth/nft/{contract}/mints/count
path:
Name | Type | Description | Example |
---|---|---|---|
contract | string | The contract address which generates these transfers. | 0x0c600d41b9c7656e60c0bf76d79b1532b4770d0c |
query:
Name | Type | Description | Example |
---|---|---|---|
txhash | string | The hash of the transaction which generates these transfers. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
to | string | The token's new owner. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
Response
Name | Type | Description |
---|---|---|
count | number | The count of items. |
Get all NFT transfers
Request
method:
POST
url:
/eth/nft/{contract}/transfers
path:
Name | Type | Description | Example |
---|---|---|---|
contract | string | The contract address which generates these transfers. | 0x0c600d41b9c7656e60c0bf76d79b1532b4770d0c |
query:
Name | Type | Description | Example |
---|---|---|---|
txhash | string | The hash of the transaction which generates these transfers. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
to | string | The token's new owner. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
Response
Array<NftTransfer>
Get amount of NFT transfers
Request
method:
POST
url:
/eth/nft/{contract}/transfers/count
path:
Name | Type | Description | Example |
---|---|---|---|
contract | string | The contract address which generates these transfers. | 0x0c600d41b9c7656e60c0bf76d79b1532b4770d0c |
query:
Name | Type | Description | Example |
---|---|---|---|
txhash | string | The hash of the transaction which generates these transfers. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
to | string | The token's new owner. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
Response
Name | Type | Description |
---|---|---|
count | number | The count of items. |
Get all NFT tokens
Request
method:
POST
url:
/eth/nft/{contract}/tokens
path:
Name | Type | Description | Example |
---|---|---|---|
contract | string | The ERC721 address. | 0x57e9a39ae8ec404c08f88740a9e6e306f50c937f |
query:
Name | Type | Description | Example |
---|---|---|---|
address | string | The token's owner address. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
withMetadata | boolean | With metadata when true, or without metadata when false. | false |
Response
Array<NftToken>
Get all mint NFT transfers
Request
method:
POST
url:
/eth/nft/mints
query:
Name | Type | Description | Example |
---|---|---|---|
txhash | string | The hash of the transaction which generates these transfers. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
to | string | The token's new owner. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
Response
Array<NftTransfer>
Get amount of mint NFT transfers
Request
method:
POST
url:
/eth/nft/mints/count
query:
Name | Type | Description | Example |
---|---|---|---|
txhash | string | The hash of the transaction which generates these transfers. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
to | string | The token's new owner. | 0xf2587224b6efec80a81076c0a5a282fd21d3c8ba |
Response
Name | Type | Description |
---|---|---|
count | number | The count of items. |
Get token's metadata in the contract
Request
method:
GET
url:
/eth/nft/{contract}/metadata/{tokenId}
path:
Name | Type | Description | Example |
---|---|---|---|
contract | string | The ERC721 address. | 0xdd07d272cb04fa80bebe498e30bc4f6c7f6789aee73e0ba7a579213e3e5eddaa |
tokenId | string | The token id. | 4679 |
Response
Array<NftMetadata>
Sign data
Request
method:
POST
url:
/eth/nft/claims/sign
body
Name | Type | Description |
---|---|---|
name | string | The user readable name of signing domain, i.e. the name of the DApp or the protocol. |
version | string | The current major version of the signing domain. Signatures from different versions are not compatible. |
chainId | number | The EIP-155 chain id. The user-agent should refuse signing if it does not match the currently active chain. |
verifyingContract | string | The address of the contract that will verify the signature. The user-agent may do contract specific phishing prevention. |
recipient | string | The recipient address who can claim. |
nonce | number | The nonce value. |
Response
Name | Type | Description |
---|---|---|
name | string | The user readable name of signing domain, i.e. the name of the DApp or the protocol. |
version | string | The current major version of the signing domain. Signatures from different versions are not compatible. |
chainId | number | The EIP-155 chain id. The user-agent should refuse signing if it does not match the currently active chain. |
verifyingContract | string | The address of the contract that will verify the signature. The user-agent may do contract specific phishing prevention. |
recipient | string | The recipient address who can claim. |
amount | number | The nft amount which the recipient will receive. |
nonce | number | The nonce value. |
signature | string | The signature. |
Last updated