Call View Function

POST

Read data from a view function on a smart contract

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
chainIdlongRequired

The chain ID for the network

functionSignaturestringRequired

The human readable ABI function signature you want to call

contractAddressstringRequired

The contract address to read from

argsmap from strings to anyOptional

(Optional) The function arguments if any. The keys are the argument names or index from the provided function signature and the values are the argument values

Response

This endpoint returns any.