accounts_transactions
Overview
Returns transactions where the account is the sender. Useful for pagination and activity feeds.
Endpoint
GET /v1/accounts/{address}/transactions
Request
Path Parameters
Name | Type | Required | Description |
---|---|---|---|
address | string | Yes | Sender address |
Query Parameters
Name | Type | Required | Description |
---|---|---|---|
start | string | No | Starting version (cursor) |
limit | integer | No | Page size |
Code Examples
cURL
curl -s "https://api-aptos-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1/transactions?limit=25"
TypeScript
const txns = await aptos.getAccountTransactions({ accountAddress: "0x1", limit: 25 });
Python
txns = client.get_account_transactions("0x1", params={"limit": 25})
Rust
let txns = client.get_account_transactions("0x1", None).await?;