Skip to main content

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

Gets the contract meta data.

Updated on
May 31, 2024

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 | null

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 | null

Additional information or metadata about the contract

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