Skip to main content

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

Lists all smart contracts for a code id.

Updated on
Jun 28, 2025

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
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free