stellar_soroban_read_state
Read a Soroban contract's stored data entry directly from the Stellar ledger without simulating a transaction.
Instructions
Read the state of a specific contract data entry directly from the ledger without simulating a transaction.
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": {
"contractId": "<contractId>",
"keyType": "<keyType>",
"keyValue": "<keyValue>"
},
"name": "stellar_soroban_read_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | Soroban contract ID (C...) | |
| keyType | Yes | The ScVal type of the ledger key | |
| keyValue | Yes | The value of the ledger key | |
| durability | No | The durability of the contract data entry | persistent |