Skip to Content

smart/(query_data)

Endpoint

get /cosmwasm/wasm/v1/contract/{address}/smart/{query_data}

Parameters

Request Parameters

  • address (path): address is the address of the contract
  • query_data (path): query_data contains the encoded payload passed to the contract.
  • payload (format): Base64-encoded JSON string
  • example_payload (stringified JSON): {"tokens":{"owner":"sei1fl48vsnmsdzcv85q5d2q4z5ajdha8yu3chcelk"}}
  • example_payload (base64 encoded): eyJ0b2tlbnMiOnsib3duZXIiOiJzZWkxZmw0OHZzbm1zZHpjdjg1cTVkMnE0ejVhamRoYTh5dTNjaGNlbGsifX0=

Responses

Possible Responses

  • 200: A successful response.
  • default: An unexpected error response.
Last updated on