Get Started
Learn
- Tutorials
Health Check
- Health Check
EVM
- Chains
- Blocks
- Transactions
- GETGet deployment transaction
- GETList deployed contracts
- GETList ERC transfers
- GETList transactions
- GETList native transactions
- GETList ERC-20 transfers
- GETList ERC-721 transfers
- GETList ERC-1155 transfers
- GETList internal transactions
- GETGet transaction
- GETList transactions for a block
- GETList latest transactions
- GETList the latest transactions across all supported EVM chains
- GET
- Balances
- Contracts
- NFTs
Primary Network
- Network, Chains & subnet
- Validators & Delegators
- Blocks
- Vertices
- Transactions
- Balances & UTXOs
- Rewards
- Assets
ICM Services
- Teleporter
- Interchain Messaging
- Signature Aggregator
Operations
- Operations
Usage Metrics
- Usage Metrics
List ERC-721 transfers
Lists ERC-721 transfers for an address. Filterable by block range.
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";
const avaCloudSDK = new AvaCloudSDK({
serverURL: "https://api.example.com",
chainId: "43114",
network: "mainnet",
});
async function run() {
const result = await avaCloudSDK.data.evm.transactions.listErc721Transactions({
startBlock: 6479329,
endBlock: 6479330,
chainId: "43114",
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
});
for await (const page of result) {
// Handle the page
console.log(page);
}
}
run();
{
"nextPageToken": "<string>",
"transactions": [
{
"blockNumber": "339",
"blockTimestamp": 1648672486,
"blockHash": "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c",
"txHash": "0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4",
"from": {
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"decimals": 18,
"logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
},
"to": {
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"decimals": 18,
"logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
},
"logIndex": 123,
"erc721Token": {
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"ercType": "ERC-721",
"tokenId": "<string>",
"tokenUri": "<string>",
"metadata": {
"indexStatus": "indexed",
"metadataLastUpdatedTimestamp": 123,
"name": "<string>",
"symbol": "<string>",
"imageUri": "<string>",
"description": "<string>",
"animationUri": "<string>",
"externalUrl": "<string>",
"background": "<string>",
"attributes": "<string>"
},
"ownerAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
}
}
]
}
Authorizations
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
Path Parameters
A supported evm chain id or blockchain id. Use the /chains
endpoint to get a list of supported chain ids.
A wallet address.
Query Parameters
The block range start number, inclusive. If endBlock is not defined when startBlock is defined, the end of the range will be the most recent block.
The block range end number, exclusive. If startBlock is not defined when endBlock is defined, the start of the range will be the genesis block.
A page token, received from a previous list call. Provide this to retrieve the subsequent page.
The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1 <= x <= 100
Response
The block number on the chain.
"339"
The block finality timestamp.
1648672486
The block hash identifier.
"0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c"
The transaction hash identifier.
"0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4"
A wallet or contract address in mixed-case checksum encoding.
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
The contract name.
"Wrapped AVAX"
The contract symbol.
"WAVAX"
The number of decimals the token uses. For example 6
, means to divide the token amount by 1000000
to get its user representation.
18
The logo uri for the address.
"https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"
A wallet or contract address in mixed-case checksum encoding.
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
The contract name.
"Wrapped AVAX"
The contract symbol.
"WAVAX"
The number of decimals the token uses. For example 6
, means to divide the token amount by 1000000
to get its user representation.
18
The logo uri for the address.
"https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"
A wallet or contract address in mixed-case checksum encoding.
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
The contract name.
"Wrapped AVAX"
The contract symbol.
"WAVAX"
ERC-721
The metadata indexing status of the nft.
UNKNOWN
, MISSING_TOKEN
, INVALID_TOKEN_URI
, INVALID_TOKEN_URI_SCHEME
, UNREACHABLE_TOKEN_URI
, THROTTLED_TOKEN_URI
, METADATA_CONTENT_TOO_LARGE
, INVALID_METADATA
, INVALID_METADATA_JSON
, INDEXED
, UNINDEXED
A wallet or contract address in mixed-case checksum encoding.
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
A token, which can be sent as pageToken
to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
Was this page helpful?
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";
const avaCloudSDK = new AvaCloudSDK({
serverURL: "https://api.example.com",
chainId: "43114",
network: "mainnet",
});
async function run() {
const result = await avaCloudSDK.data.evm.transactions.listErc721Transactions({
startBlock: 6479329,
endBlock: 6479330,
chainId: "43114",
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
});
for await (const page of result) {
// Handle the page
console.log(page);
}
}
run();
{
"nextPageToken": "<string>",
"transactions": [
{
"blockNumber": "339",
"blockTimestamp": 1648672486,
"blockHash": "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c",
"txHash": "0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4",
"from": {
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"decimals": 18,
"logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
},
"to": {
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"decimals": 18,
"logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
},
"logIndex": 123,
"erc721Token": {
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"ercType": "ERC-721",
"tokenId": "<string>",
"tokenUri": "<string>",
"metadata": {
"indexStatus": "indexed",
"metadataLastUpdatedTimestamp": 123,
"name": "<string>",
"symbol": "<string>",
"imageUri": "<string>",
"description": "<string>",
"animationUri": "<string>",
"externalUrl": "<string>",
"background": "<string>",
"attributes": "<string>"
},
"ownerAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
}
}
]
}