Skip to main content

/cosmwasm/wasm/v1/code/{code_id} REST API Endpoint

Gets the binary code and metadata for a singe wasm code.

Updated on
May 31, 2024

Path Parameters

code_id
string
REQUIRED

The code id

Returns

code_info
object

Metadata for the requested wasm code

code_id
string

A unique identifier for the uploaded smart contract code

creator
string

The address of the account that uploaded the smart contract code

data_hash
string

A hash of the uploaded smart contract code, used for verification and integrity checking

instantiate_permission
object

Contains information about who has permission to instantiate (deploy) the contract

permission
string

Specifies who can instantiate the contract

address
string

If the permission is set to OnlyAddress, this field specifies the address that has permission to instantiate the contract

data
string

The raw bytecode of the smart contract, encoded in base64

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