stellar_xdr_encode
Encode JSON data into Stellar XDR format by selecting the XDR type, channel, and output format for blockchain data workflows.
Instructions
Encode JSON data to XDR format
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": {
"type": "<type>"
},
"name": "stellar_xdr_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | XDR type to encode to | |
| input | No | JSON data to encode | |
| channel | No | XDR specification channel | |
| inputFormat | No | Input format | |
| outputFormat | No | Output format |