stellar_tx_hash
Compute the transaction hash from a base64-encoded envelope XDR for Stellar networks including testnet, mainnet, futurenet, and local, so you can verify or sign transactions.
Instructions
Calculate the hash of a transaction envelope
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": {
"tx_xdr": "<tx_xdr>"
},
"name": "stellar_tx_hash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_xdr | Yes | Transaction XDR to hash (base64) | |
| network | No | Stellar network |