Generic Smart Contract Method

Executes read-only (view) functions on verified smart contracts, enabling queries like token balances or exchange rates without gas costs. The result includes on-chain data returned by the invoked function, facilitating up-to-date insights for decentralized applications.

💡

Compute Unit Value: 40 (Fixed)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The request body for a /defi/v1/chain/genericsmartcontractmethod

The request body for a /defi/v1/chain/genericsmartcontractmethod

string
enum

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

string

The abbreviated chain name for queries or transactions.

string
required

The address of the smart contract to perform the read operation on.

string

Array of parameters to pass to the read function.

string
enum

ABI of the smart contract if unverified.

Allowed:
string
required

Name of the read function to be executed.

string

The block number to perform the query on. Defaults to the latest block.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json