xrp_create_trustline
Set up a trustline on the XRP Ledger Testnet to hold custom tokens by specifying currency code, issuer address, and maximum limit.
Instructions
Create a trustline to hold a custom token
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_create_trustline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | Maximum amount to hold | |
| issuer | Yes | Token issuer address | |
| currency | Yes | Currency code (3 chars) | |
| privateKey | Yes | Account private key |