query-contract-raw
Query raw contract storage data on the Osmosis blockchain by specifying a contract address and storage key to retrieve specific information directly from smart contracts.
Instructions
Queries raw contract storage by key
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": {
"contractAddress": "<contractAddress>",
"key": "<key>"
},
"name": "query-contract-raw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The contract address to query | |
| key | Yes | The storage key (hex encoded) |