GET

https://aptos-mainnet.s.chainbase.online/{api-key}/v1

/
accounts
/
{address}
/
modules

Path Parameters

address
string
required

Address of account with or without a 0x prefix

Query Parameters

ledger_version
string

Ledger version to get state of account

If not provided, it will be the latest version

start
string

Cursor specifying where to start for pagination

This cursor cannot be derived manually client-side. Instead, you must call this endpoint once without this query parameter specified, and then use the cursor returned in the X-Aptos-Cursor header in the response.

limit
integer

Max number of account modules to retrieve

If not provided, defaults to default page size.

Response

200 - application/json
bytecode
string
required

All bytes (Vec<u8>) data is represented as hex-encoded string prefixed with 0x and fulfilled with two hex digits per byte.

Unlike the Address type, HexEncodedBytes will not trim any zeros.

abi
object

A Move module