POST
/
view
curl --request POST \
  --url https://aptos-mainnet.s.chainbase.online/{api-key}/v1/view \
  --header 'Content-Type: application/json' \
  --data '{
  "function": "0x1::aptos_coin::transfer",
  "type_arguments": [
    "<string>"
  ],
  "arguments": [
    "<any>"
  ]
}'
[
  {
    "authentication_key": "0x0000000000000000000000000000000000000000000000000000000000000001",
    "coin_register_events": {
      "counter": "0",
      "guid": {
        "id": {
          "addr": "0x1",
          "creation_num": "0"
        }
      }
    },
    "self_address": "0x1",
    "sequence_number": "0"
  }
]

Query Parameters

ledger_version
string

Ledger version to get state of account

If not provided, it will be the latest version

Example:

"32425224034"

Body

application/json

View request for the Move View Function API

Response

200
application/json

The response is of type object[].