Skip to main content

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

Gets the contract meta data.

Updated on
May 31, 2024

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

Path Parameters

address
string
REQUIRED
The address of the contract to query

Returns

address
string
The address of the contract
contract_info
object
The contract_info object which contains the following fields:
code_id
string
The unique identifier of the code used to instantiate this contract
creator
string
The address of the account that created (instantiated) this contract
admin
string
The address of the account that has administrative rights over this contract
label
string
A human-readable label for the contract, often used to distinguish between different instances of contracts
created
string
The timestamp or block height when the contract was created
ibc_port_id
string
The IBC (Inter-Blockchain Communication) port ID associated with this contract
extension
string
Additional information or metadata about the contract
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/cosmwasm/wasm/v1/contract/sei12dwgzgfque6s3285cyg8pntugal4s0tvx3jhf0wzyxz7c0x700nsv03fr6'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free