Skip to main content

GetWasmContracts gRPC Method

Returns indexed CosmWasm contracts.

Updated on
Sep 17, 2026

Parameters

limit
integer

The maximum number of records to return.

code_id
integer

The numeric identifier of the stored CosmWasm code.

from_number
integer

The lowest indexed record number to include in the result.

to_number
integer

The highest indexed record number to include in the result.

assets_only
boolean

Whether to return only contracts recognized as assets.

skip
integer

The number of matching records to skip before returning results.

label
string

The contract label used to filter indexed CosmWasm contracts.

token
string

The CW20 token name or symbol used to filter contracts.

lookup
string

The text value matched against searchable contract fields.

Returns

paging
object

Pagination metadata for the returned records.

total
string

The total number of matching CosmWasm contracts available.

from
integer

The first block height or record index represented on this page.

to
integer

The last block height or record index represented on this page.

count_by_subaccount
string

The number of matching records grouped by subaccount where available.

next
array

The cursor tokens used to request subsequent result pages.

data
array

The CosmWasm contracts that match the request.

label
string

The human-readable label assigned to the contract.

address
string

The Injective address of the indexed CosmWasm contract.

tx_hash
string

The hash of the transaction that instantiated the contract.

creator
string

The Injective address that stored the code or instantiated the contract.

executes
string

The number of indexed executions of the contract.

instantiated_at
string

The contract instantiation time expressed in Unix milliseconds.

init_message
string

The initialization message used when the contract was instantiated.

last_executed_at
string

The most recent contract execution time expressed in Unix milliseconds.

funds
array

The coin balances held by the contract.

denom
string

The denomination that identifies the transferred or fee coin.

amount
string

The coin amount represented as a decimal string in base denomination units.

code_id
string

The numeric identifier of the CosmWasm code instantiated by the contract.

admin
string

The Injective address authorized to migrate the contract.

current_migrate_message
string

The most recent migration message applied to the contract.

contract_number
string

The monotonically increasing index assigned to the contract by the indexer.

version
string

The detected version string for the contract or stored code.

type
string

The detected type of the indexed contract or record.

cw20_metadata
object

The indexed token and marketing metadata for the CW20 contract.

token_info
object

The name, symbol, decimals, and total supply of the CW20 token.

name
string

The human-readable name of the CW20 token.

symbol
string

The ticker symbol of the CW20 token.

decimals
string

The number of decimal places used by the CW20 token.

total_supply
string

The total CW20 token supply, represented as a decimal string.

marketing_info
object

The project, description, logo, and marketing address published for the CW20 token.

project
string

The project information published in the CW20 marketing metadata.

description
string

The project description published in the CW20 marketing metadata.

logo
string

The URL or embedded representation of the CW20 token logo.

marketing
string

The optional marketing metadata published by the CW20 token contract, base64-encoded in JSON responses.

proposal_id
string

The governance proposal identifier that authorized contract instantiation, when applicable.

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