query-contract-state
Retrieve the state of a smart contract on the Osmosis blockchain by providing the contract address and a JSON query message for precise data retrieval.
Instructions
Queries the state of a smart contract
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contractAddress | Yes | The contract address to query | |
queryMsg | Yes | The query message as a JSON object |
Input Schema (JSON Schema)
{
"properties": {
"contractAddress": {
"description": "The contract address to query",
"type": "string"
},
"queryMsg": {
"description": "The query message as a JSON object",
"type": "object"
}
},
"required": [
"contractAddress",
"queryMsg"
],
"type": "object"
}