Skip to main content

GetWasmContractByAddress gRPC Method

Returns an indexed CosmWasm contract by address.

Updated on
Sep 17, 2026

Parameters

contract_address
string

The Injective address of the CosmWasm contract to retrieve.

Returns

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