amb_supportedMethods

Returns the supported RPC methods for a specific blockchain.

Request

curl 'https://rpc.web3api.io?x-api-key=YOUR-API-KEY' \
    -X POST \
    -H 'x-amberdata-blockchain-id: bitcoin-mainnet' \
    -d '{"jsonrpc":"2.0","id":1,"method":"amb_supportedMethods","params":[]}'

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "methods": [
      "amb_supportedMethods",
      "amb_version",
      "createrawtransaction",
      "decoderawtransaction",
      "decodescript",
      "getbestblockhash",
      "getblock",
      "getblockchaininfo",
      "getblockcount",
      "getblockhash",
      "getblockheader",
      "getblockstats",
      "getchaintips",
      "getchaintxstats",
      "getconnectioncount",
      "getdifficulty",
      "getmemoryinfo",
      "getmempoolancestors",
      "getmempooldescendants",
      "getmempoolentry",
      "getmempoolinfo",
      "getmininginfo",
      "getnetworkhashps",
      "getrawmempool",
      "getrawtransaction",
      "getrpcinfo",
      "gettxout",
      "gettxoutproof",
      "getzmqnotifications",
      "logging",
      "sendrawtransaction",
      "testmempoolaccept",
      "uptime"
    ]
  }
}