Terp Network Docs
APIsOpenapiQuery
GET
/cosmwasm/wasm/v1/contract/{address}

Path Parameters

address*string

address is the address of the contract to query

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmwasm/wasm/v1/contract/string"
{
  "address": "string",
  "contract_info": {
    "code_id": "string",
    "creator": "string",
    "admin": "string",
    "label": "string",
    "created": {
      "block_height": "string",
      "tx_index": "string"
    },
    "ibc_port_id": "string",
    "ibc2_port_id": "string",
    "extension": {
      "type_url": "string",
      "value": "string"
    }
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}