POST
/
contracts
/
read-contract-function
curl --request POST \
  --url https://protocol-sandbox.lumx.io/v2/contracts/read-contract-function \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "walletAddress": "<string>",
  "contractAddress": "<string>",
  "functionSignature": "<string>",
  "params": [],
  "returnType": "<string>"
}'
{
  "results": [
    "<any>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json

Response

200 - application/json

The response of the contract function.

The response is of type object.