Skip to content
GET /v1/functions

Callable functions of a module, filterable by kind

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/aptosmodules-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/aptosmodules-api/v1/functions" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/aptosmodules-api/v1/functions", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/aptosmodules-api/v1/functions");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/aptosmodules-api/v1/functions",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "kind": "view",
        "note": "The module's callable functions, filtered by kind (entry = state-changing transactions, view = read-only queries). Each lists its parameter and return types.",
        "count": 15,
        "module": "coin",
        "source": "Aptos fullnode REST",
        "address": "0x1",
        "functions": [
            {
                "name": "name",
                "params": [],
                "return": [
                    "0x1::string::String"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "symbol",
                "params": [],
                "return": [
                    "0x1::string::String"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "decimals",
                "params": [],
                "return": [
                    "u8"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "balance",
                "params": [
                    "address"
                ],
                "return": [
                    "u64"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "is_balance_at_least",
                "params": [
                    "address",
                    "u64"
                ],
                "return": [
                    "bool"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "supply",
                "params": [],
                "return": [
                    "0x1::option::Option<u128>"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "coin_supply",
                "params": [],
                "return": [
                    "0x1::option::Option<u128>"
                ],
                "is_view": true,
                "is_entry": false,
                "visibility": "public",
                "generic_type_params": 1
            },
            {
                "name": "is_account_registered",
                "params": [
                    "address"
                ],
                "return": [
                    "bool"
                ],
           
…