curl -L \
--request POST \
--url 'https://icrc-mainnet.icp.validationcloud.io/v1/<YOUR_API_KEY_HERE>/construction/preprocess' \
--header 'Content-Type: application/json' \
--data '{
"network_identifier": {
"blockchain": "Internet Computer",
"network": "mxzaz-hqaaa-aaaar-qaada-cai",
"sub_network_identifier": {
"network": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
},
"operations": [
{
"operation_identifier": {
"index": 1,
"network_index": 1
},
"related_operations": [
{
"index": 1,
"network_index": 1
}
],
"type": "text",
"status": "text",
"account": {
"address": "text",
"sub_account": {
"address": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"amount": {
"value": "text",
"currency": {
"symbol": "text",
"decimals": 1,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}'