For the complete documentation index, see llms.txt. This page is also available as Markdown.

Metadata

Get transaction metadata

post

Fetches any metadata needed for transaction construction.

Body
Responses
200

Construction metadata

application/json
post/construction/metadata
POST /v1/<YOUR_API_KEY_HERE>/construction/metadata HTTP/1.1
Host: icp-mainnet.icp.validationcloud.io/v1/<YOUR_API_KEY_HERE>
Content-Type: application/json
Accept: */*
Content-Length: 290

{
  "network_identifier": {
    "blockchain": "Internet Computer",
    "network": "00000000000000020101",
    "sub_network_identifier": {
      "network": "text",
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    }
  },
  "options": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "public_keys": [
    {
      "hex_bytes": "text",
      "curve_type": "text"
    }
  ]
}
{
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "suggested_fee": [
    {
      "value": "text",
      "currency": {
        "symbol": "text",
        "decimals": 1,
        "metadata": {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      },
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    }
  ]
}

Was this helpful?