transactions - Movement

Returns a paginated list of committed transactions, newest-relative to a starting ledger version, with their payloads, events, and effects.

Endpoint

httpGET /v1/transactions

Query Parameters

ParameterTypeDescription
startstringLedger version to start from
limitstringMax transactions to return (default 25)

Example

bashexport MOVEMENT_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${MOVEMENT_REST}v1/transactions?limit=2"

Response

json[
    {
        "version": "285000000",
        "hash": "0xade...",
        "success": true,
        "vm_status": "Executed successfully",
        "gas_used": "7",
        "sender": "0xabc...",
        "sequence_number": "42",
        "type": "user_transaction"
    }
]

Response Fields

FieldTypeDescription
versionstringLedger version
hashstringTransaction hash
successbooleanWhether the transaction succeeded
gas_usedstringGas units consumed
typestringTransaction type (user_transaction, block_metadata, …)

Use Cases

  • Indexing: Stream committed transactions
  • Analytics: Walk transaction history by version

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, block, transaction, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect