Open a top-up
create_topupOpen a top-up of the gasrent balance. Returns a deposit address and the exact amount to send within 20 minutes. Charges nothing; the user sends the funds from their own wallet. Needs an API key at the rent or full level.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount_trx": "<amount_trx>"
},
"name": "create_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Optional, default trx. usdt is TRC20 USDT. | |
| amount_trx | Yes | Whole units of the currency to deposit, at least 1. | |
| idempotency_key | No | Recommended. A new random value for each purchase. Reuse it only to retry the same purchase after a lost response: the original result comes back and nothing is charged twice. |