xrp_approve_token
Authorize spending limits for tokens on the XRP Ledger testnet. Manage trustlines by specifying currency, issuer, and limit.
Instructions
Set token spending authorization (trustline management)
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": {
"privateKey": "<privateKey>",
"currency": "<currency>",
"issuer": "<issuer>",
"limit": "<limit>"
},
"name": "xrp_approve_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Authorized spending limit | |
| issuer | Yes | Token issuer address | |
| currency | Yes | Currency code | |
| privateKey | Yes | Account private key |