Terp Network Docs
APIsOpenapiQuery
GET
/cosmwasm/wasm/v1/contract/build_address

Query Parameters

code_hash?string

CodeHash is the hash of the code.

creator_address?string

CreatorAddress is the address of the contract instantiator.

salt?string

Salt is a hex encoded salt.

init_args?string

InitArgs are optional json encoded init args to be used in contract address building if provided.

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmwasm/wasm/v1/contract/build_address"
{
  "address": "string"
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}