ERC721
/getbalance
Retrieves the number of NFTs held in the owner's account. Currently available on Ethereum, Polygon, BSC, Avalanche, and zkSync.
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 |
/getmetadata
Retrieves the metadata for the specified NFT. Currently available on Ethereum, Polygon, BSC, Avalanche, and zkSync.
GET
https://api.expand.network/nft/getmetadata
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. |
/getowner
Retrieves the owner of the specified token ID. Currently available on Ethereum, Polygon, BSC, Avalanche, and zkSync.
GET
https://api.expand.network/nft/getowner
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 |
nftProtocolId | String | 721/1155 standard choice by default: 721 |
nftIndex* | String | Index of the nft in the Collection |
/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 | ERC721: Approval, Transfer |
Last updated