List latest transactions
Lists the latest transactions on one of the Primary Network chains.
Transactions are filterable by addresses, txTypes, and timestamps. When querying for latest transactions without an address parameter, filtering by txTypes and timestamps is not supported. An address filter must be provided to utilize txTypes and timestamp filters.
For P-Chain, you can fetch all L1 validators related transactions like ConvertSubnetToL1Tx, IncreaseL1ValidatorBalanceTx etc. using the unique L1 validation ID. These transactions are further filterable by txTypes and timestamps as well.
Given that each transaction may return a large number of UTXO objects, bounded only by the maximum transaction size, the query may return less transactions than the provided page size. The result will contain less results than the page size if the number of utxos contained in the resulting transactions reach a performance threshold.
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 primary network blockchain id or alias.
11111111111111111111111111111111LpoYY
, 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
, 2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm
, 2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV
, 2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5
, yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp
, vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu
, p-chain
, x-chain
, c-chain
Either mainnet or testnet/fuji.
mainnet
, fuji
, testnet
Query Parameters
A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups.
Query param for filtering items based on transaction types.
AddValidatorTx
, AddSubnetValidatorTx
, AddDelegatorTx
, CreateChainTx
, CreateSubnetTx
, ImportTx
, ExportTx
, AdvanceTimeTx
, RewardValidatorTx
, RemoveSubnetValidatorTx
, TransformSubnetTx
, AddPermissionlessValidatorTx
, AddPermissionlessDelegatorTx
, BaseTx
, TransferSubnetOwnershipTx
, ConvertSubnetToL1Tx
, RegisterL1ValidatorTx
, SetL1ValidatorWeightTx
, DisableL1ValidatorTx
, IncreaseL1ValidatorBalanceTx
, UNKNOWN
, CreateAssetTx
, OperationTx
Query param for retrieving items after a specific timestamp.
x > 0
Query param for retrieving items before a specific timestamp.
x > 0
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
The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the sortBy
query parameter, if provided.
asc
, desc
Response
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?