Skip to main content
GET
/
accounts
/
{address}
/
modules
Get account modules
curl --request GET \
  --url https://api.us1.shinami.com/aptos/node/v1/accounts/{address}/modules \
  --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:

Query Parameters

ledger_version
string<uint64>
Example:
start
string
Example:
limit
integer

Response

bytecode
string<hex>
required
Example:
abi
object