Home
Aptos
Get_Account_Transactions
Get_Account_Transactions
Retrieves on-chain committed sequence-number based transactions from an account.
Does not retrieve orderless transactions sent from the account.
If the start version is too far in the past, a 410 will be returned.
If no start version is given, it will start at version 0.
To retrieve a pending transaction, use /transactions/by_hash.
Transactions
Get_Account_Transactions is an example object payload from Aptos, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
method path operationId summary description tags parameters requestBody responses
Example Payload
{
"method": "GET",
"path": "/accounts/{address}/transactions",
"operationId": "get_account_transactions",
"summary": "Get account transactions",
"description": "Retrieves on-chain committed sequence-number based transactions from an account.\nDoes not retrieve orderless transactions sent from the account.\nIf the start version is too far in the past, a 410 will be returned.\n\nIf no start version is given, it will start at version 0.\n\nTo retrieve a pending transaction, use /transactions/by_hash.",
"tags": [
"Transactions"
],
"parameters": [
{
"name": "address",
"in": "path",
"required": true,
"description": "Address of account with or without a `0x` prefix",
"schema": {
"$ref": "#/components/schemas/Address"
}
},
{
"name": "start",
"in": "query",
"required": false,
"description": "Account sequence number to start list of transactions\n\nIf not provided, defaults to showing the latest transactions",
"schema": {
"$ref": "#/components/schemas/U64"
}
},
{
"name": "limit",
"in": "query",
"required": false,
"description": "Max number of transactions to retrieve.\n\nIf not provided, defaults to default page size",
"schema": {
"type": "integer",
"format": "uint16"
}
}
],
"requestBody": null,
"responses": {
"200": {
"contentType": "application/json",
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Transaction"
}
},
"example": {}
},
"400": {
"contentType": "application/json",
"schema": {
"$ref": "#/components/schemas/AptosError"
},
"example": {}
},
"403": {
"contentType": "application/json",
"schema": {
"$ref": "#/components/schemas/AptosError"
},
"example": {}
},
"404": {
"contentType": "application/json",
"schema": {
"$ref": "#/components/schemas/AptosError"
},
"example": {}
},
"410": {
"contentType": "application/json",
"schema": {
"$ref": "#/components/schemas/AptosError"
},
"example": {}
},
"500": {
"contentType": "application/json",
"schema": {
"$ref": "#/components/schemas/AptosError"
},
"example": {}
},
"503": {
"contentType": "application/json",
"schema": {
"$ref": "#/components/schemas/AptosError"
},
"example": {}
}
}
}