GET

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

/
accounts
/
{address}
/
module
/
{module_name}

Path Parameters

address
string
required

Address of account with or without a 0x prefix

module_name
string
required

Name of module to retrieve e.g. coin

Query Parameters

ledger_version
string

Ledger version to get state of account

If not provided, it will be the latest version

Response

200 - application/json

Move module bytecode along with it's ABI

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