v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
Primary Network UTXOs

Get last activity timestamp by addresses v2

Gets the last activity timestamp for the supplied addresses on one of the Primary Network chains. V2 route supports querying for more addresses.

post/v1/networks/{network}/blockchains/{blockchainId}/lastActivityTimestampByAddresses

Path parameters

blockchainId'11111111111111111111111111111111LpoYY' | '2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | '2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5' | 'yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp' | 'p-chain' | 'x-chain' | 'c-chain' required

A primary network blockchain id or alias.

network'mainnet' | 'fuji' | 'testnet' required

Either mainnet or testnet/fuji.

Request body

addressesstring required

Comma-separated list of primary network addresses

Example request

{
  "addresses": "P-avax1abc123,X-avax1def456,C-avax1ghi789"
}

Response

Successful response

timestampnumber required

Unix timestamp in seconds at which the last activity occurred.

blockNumberstring required

Block height at which the last activity occurred.

txHashstring required

Transaction hash of the transaction that created or consumed the address' UTXOs.

utxoIdstring required

UTXO ID of the UTXO that was created or consumed.

isConsumedboolean required

Whether the last activity was a consumption of an existing UTXO.

chainName'p-chain' | 'x-chain' | 'c-chain' required
network'mainnet' | 'fuji' required