Skip to main content

/v1/accounts/{address}/transactions REST API Endpoint

Retrieves the on-chain committed transactions associated with a specific account.

Updated on
Oct 4, 2023

/v1/accounts/{address}/transactions REST API Endpoint

Path Parameters

address
string
REQUIRED
The address of the account to retrieve the on-chain committed transactions

Query Parameters

limit
integer
The maximum number of resources to retrieve per request. If not provided, defaults to default page size
start
string
The starting point or offset for retrieving resources. If not provided, defaults to showing the latest transactions

Returns

type
The type of the change
hash
The hash of the transaction
sender
The account from which the transaction was sent
sequence_number
The sequence of a transaction sent by the specific sender
max_gas_amount
The maximum amount of gas allocated for the execution of a transaction
gas_unit_price
The cost per unit of gas, determining the transaction fee paid by the sender for each unit of computational resource consumed
expiration_timestamp_secs
The timestamp indicating the expiration period of a transaction, specifying the time until which the transaction can be included in a block
payload
The data that is being carried by a transaction. It contains the following fields:
type
The type of payload indicating the purpose of the data contained
function
The function associated with the payload
type_arguments
An array specifying the types of arguments provided to the function
arguments
An array containing the actual arguments passed to the function
signature
An array with the following fields:
type
The type of signature used to verify the authenticity of the function
public_key
The public key associated with the account that generated the signature, used for verifying the signature's validity
signature
The actual signature generated using the private key corresponding to the public key provided
Request
1
curl -X 'GET' https://docs-demo.aptos-mainnet.quiknode.pro/v1/accounts/0xd5a93701bcba5d13daef00936657d7efcddf2bf5749b02159461e882880a8953/transactions/ \
2
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free