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

NameTypeDescription

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

https://api.expand.network/nft/getbalance?nftCollection=0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D&address=0xc5c7b46843014B1591e9aF24de797156cde67f08

/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

NameTypeDescription

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.

https://api.expand.network/nft/getmetadata?nftCollection=0x5af0d9827e0c53e4799bb226655a1de152a425a5

/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

NameTypeDescription

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

https://api.expand.network/nft/getowner?nftIndex=1000&nftCollection=0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D

/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

NameTypeDescription

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

https://api.expand.network/nft/historical/transactions?chainId=1&nftProtocolId=721&startBlock=0&nftCollection=0x306b1ea3ecdf94aB739F1910bbda052Ed4A9f949&page=1&sort=desc

/historical/logs

Retrieves historical logs for any nftCollection. Currently available on ethereum.

GET https://api.expand.network/nft/historical/logs

Query Parameters

NameTypeDescription

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

https://api.expand.network/nft/historical/logs?chainId=1&nftCollection=0x08D7C0242953446436F34b4C78Fe9da38c73668d&type=Transfer&startBlock=17146713&endBlock=17157177

Last updated