Skip to main content

/cosmwasm/wasm/v1/contract/{address}/smart/{query_data} REST API Endpoint

Gets smart query result from the contract.

Updated on
May 31, 2024

Path Parameters

address
string
REQUIRED

The address of the contract to query

query_data
string
REQUIRED

The base64-encoded query data to be sent to the contract

Returns

data
object

The decoded smart query response from the contract

name
string

(Optional) Token name when returned by token info queries

symbol
string

(Optional) Token symbol when returned by token info queries

decimals
integer

(Optional) Token decimals when returned by token info queries

total_supply
string

(Optional) Total supply when returned by token info queries

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free