Skip to main content

/v1/transactions

Retrieve on-chain committed transactions. The page size and start can be provided to get a specific sequence of transactions.

If the version has been pruned, then a 410 will be returned

Parameters

  • limit OPTIONAL: (integer) - Max number of transactions to retrieve.
  • start OPTIONAL: (string<uint64>)- Ledger version to start the list of transactions.

Returns

  • An array of transactions

Example

Request

curl --request GET \
--url https://aptos-mainnet.blastapi.io/<project-id>/v1/transactions?limit=1 \
--header 'Content-Type: application/json'

Result

[
{
"version": "14535506",
"hash": "0xb0d995b7e89a81014d350bbc69d0e2480f90fa67dfc0a99644406575678f0abc",
"state_change_hash": "0xafb6e14fe47d850fd0a7395bcfb997ffacf4715e0f895cc162c218e4a7564bc6",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"state_checkpoint_hash": "0xa6f03e2323b0205e3e95c9ee6afefb2ee96136d730e0b4efd0379fe7d867e38e",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
"accumulator_root_hash": "0x29e611472fcb25e25d515cbfe90a1d68e0932a4eeebc571c441e93dfe1fb8b63",
"changes": [],
"timestamp": "1666861318607443",
"type": "state_checkpoint_transaction"
}
]