stellar_create_trustline
Create a trustline for a non-native Stellar asset by specifying account, asset code, and issuer, then receive the transaction hash.
Instructions
Create a trustline for a non-native Stellar asset and return transaction hash.
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": {
"account": "<account>",
"asset_code": "<asset_code>",
"asset_issuer": "<asset_issuer>"
},
"name": "stellar_create_trustline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional trustline limit. Defaults to max representable amount. | |
| account | Yes | Account public key that will hold the trustline. | |
| asset_code | Yes | Credit asset code. | |
| asset_issuer | Yes | Issuer public key for the credit asset. |