ERC1155
/getbalance
Retrieves the number of NFTs held in the owner's account. Currently available on ethereum, polygon, BSC, and avalanche.
GET
https://api.expand.network/nft/getbalance
Query Parameters
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
chainId | String | Refer to the Chain ID page for details. |
chainSymbol | String | Refer to the Chain ID page for details. Chain Symbols: eth, bsc, avax, matic. |
nftCollection* | String | NFT collection address |
address* | String | User's account address |
nftProtocolId | String | 721/1155 standard choice by default it is 721 |
tokenId* | String | Id of the token |
/historical/transactions
Retrieves past transactions associated with a designated address, sorted based on an NFT token contract, and limited within a specific block range. Currently available on ethereum.
GET
https://api.expand.network/nft/historical/transactions
Query Parameters
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
chainId | String | Refer to the Chain ID page for details. |
chainSymbol | String | Refer to the Chain ID page for details. |
nftCollection* | String | NFT collection address |
nftProtocolId | String | 721/1155 standard choice by Default 721 |
startBlock | String | starting block of the range by Default: latestBlock -100 |
page | String | page no to get by Default 1 |
endBlock | String | end block of the range by Default: latestBlock |
sort | String | asc/desc by Default desc |
/historical/logs
Retrieves historical logs for any nftCollection. Currently available on ethereum.
GET
https://api.expand.network/nft/historical/logs
Query Parameters
Name | Type | Description |
---|---|---|
rpc | String | Remote procedural call URL. |
chainId | String | Refer to the Chain ID page for details. |
chainSymbol | String | Refer to the Chain ID page for details. |
nftCollection* | String | NFT collection address |
nftProtocolId | String | 721/1155 standard choice by Default 721 |
startBlock | String | starting block of the range by Default: latestBlock -100 |
page | String | page no to get by Default 1 |
endBlock | String | end block of the range by Default: latestBlock |
type* | String | ERC1155: ApprovalForAll,TransferSingle |
Last updated