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

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

tokenId*

String

Id of the token

https://api.expand.network/nft/getbalance?nftProtocolId=1155&nftCollection=0x6d4bbC0387dD4759EEe30f6A482AC6dC2Df3Facf&address=0x41e8BF3d9288EdDAcc3206f9aB21b61A1c59Df31&tokenId=1&chainId=1

/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=1155&startBlock=0&nftCollection=0x6Fc436606771bA2Cff576695FE9CA04D8D95d4ec&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

ERC1155: ApprovalForAll,TransferSingle

https://api.expand.network/nft/historical/logs?nftCollection=0x6d4bbC0387dD4759EEe30f6A482AC6dC2Df3Facf&chainId=1&type=ApprovalForAll&nftProtocolId=1155&startBlock=17046490&endBlock=17151713

Last updated

#553: ENC-2526-LIDO

Change request updated