stellar_contract_read
Read contract data entries from Stellar blockchain networks by specifying network, contract ID, and storage key. Output in string, JSON, or XDR format.
Instructions
Read contract data entries
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": {
"network": "<network>"
},
"name": "stellar_contract_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Storage key to read | |
| output | No | Output format | |
| key_xdr | No | Storage key as base64-encoded XDR | |
| network | Yes | Stellar network | |
| durability | No | Storage durability type | |
| contract_id | No | Contract ID to read from |