Was this helpful?
Returns an AccountIdentifier for a given public key in the ICRC-1 ledger context.
POST /v1/<YOUR_API_KEY_HERE>/construction/derive HTTP/1.1 Host: icrc-mainnet.icp.validationcloud.io Content-Type: application/json Accept: */* Content-Length: 295 { "network_identifier": { "blockchain": "Internet Computer", "network": "mxzaz-hqaaa-aaaar-qaada-cai", "sub_network_identifier": { "network": "text", "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } } }, "public_key": { "hex_bytes": "text", "curve_type": "text" }, "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } }
Account identifier derived
{ "address": "text", "account_identifier": { "address": "text", "sub_account": { "address": "text", "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } }, "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } }, "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } }