POST
/
contracts
/
read-contract-function

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
contractAddress
string

The contract address.

functionSignature
string

The function signature.

params
array

An array containing the values to be passed to the function, in the order they appear in the function signature.

returnType
string

The return signature.

walletAddress
string

A wallet address is required to read a contract function.

Response

200 - application/json
results
any[]

The returned values from the operation.