TON Transfers
Native currency transfer
Following is an example of the body of a Create Transaction request for a native TON currency transfer. The general details of creating the request appear here.
Example of a native transfer:
{
"vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
"note": "string",
"signer_type": "api_signer",
"sign_mode": "auto",
"type": "ton_transaction",
"details": {
"type": "ton_transfer",
"fail_on_prediction_failure": true,
"push_mode": "auto",
"to": {
"type": "hex",
"address": "UQAouB_61QHD91MifxjhbQmBNwulJ9_AA0cUEydZIAcfq52c"
},
"value": {
"type": "value",
"value": "1000000000000000000"
},
"asset_identifier": {
"type": "ton",
"details": {
"type": "native",
"chain": "ton_mainnet"
}
},
"skip_prediction": false
}
}
Jetton transfer
Following is an example of the body of a Create Transaction request for a jetton transfer. The general details of creating the request appear here.
{
"vault_id": "432b199b-1f71-42bf-ba0b-33d512afa9de",
"note": "string",
"signer_type": "initiator",
"sign_mode": "auto",
"type": "ton_transaction",
"details": {
"type": "ton_transfer",
"fail_on_prediction_failure": true,
"push_mode": "auto",
"to": {
"type": "hex",
"address": "UQAouB_61QHD91MifxjhbQmBNwulJ9_AA0cUEydZIAcfq52c"
},
"value": {
"type": "value",
"value": "1000000000000000000"
},
"asset_identifier": {
"type": "ton",
"details": {
"type": "jetton",
"jetton": {
"chain": "ton_mainnet",
"address": "0:b113a994b5024a16719f69139328eb759596c38a25f59028b146fecdc3621dfe",
}
}
},
"skip_prediction": false
}
}
Fees
On TON, the price of gas units is determined by the chain config. The fee that is deducted from the maximum amount is currently 0.015 Toncoin.