Skip to main content

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

Lists all smart contracts for a code id.

Updated on
May 31, 2024

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

Path Parameters

code_id
string
REQUIRED
The code id

Returns

contracts
array
An array of strings, each representing the address of a contract that was instantiated from the specified smart contract code
pagination
object
The pagination object which contains the following fields:
next_key
string
The key to be passed to PageRequest.key to query the next page most efficiently
total
string
The total number of results available if PageRequest.count_total was set, its value is undefined otherwise
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/cosmwasm/wasm/v1/code/1/contracts'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free