Skip to main content
GET
/
accounts
/
{address}
/
module
/
{module_name}
Get account module
curl --request GET \
  --url https://api.us1.shinami.com/aptos/node/v1/accounts/{address}/module/{module_name} \
  --header 'Authorization: Bearer <token>'
{
  "bytecode": 6.195948399647823e+76,
  "abi": {
    "address": 6.195948399647823e+76,
    "name": "<string>",
    "friends": [
      "0x1::aptos_coin"
    ],
    "exposed_functions": [
      {
        "name": "<string>",
        "visibility": "private",
        "is_entry": true,
        "is_view": true,
        "generic_type_params": [
          {
            "constraints": [
              "<string>"
            ]
          }
        ],
        "params": [
          "<string>"
        ],
        "return": [
          "<string>"
        ]
      }
    ],
    "structs": [
      {
        "name": "<string>",
        "is_native": true,
        "is_event": true,
        "abilities": [
          "<string>"
        ],
        "generic_type_params": [
          {
            "constraints": [
              "<string>"
            ]
          }
        ],
        "fields": [
          {
            "name": "<string>",
            "type": "<string>"
          }
        ]
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

address
string<hex>
required
Example:
module_name
string
required

Query Parameters

ledger_version
string<uint64>
Example:

Response

bytecode
string<hex>
required
Example:
abi
object