Decode a function call data, error, or event log

Decode a function call data, error, or event log from a deployed contract by blockchain native asset id and contract address.

Path Params
string
required

The contract's onchain address

string
required

The blockchain native asset identifier

Body Params
required

The data to decode, which can be a string or an object containing the data and its type.

string
enum
required

The type of the data to decode.

Allowed:
abi
array of objects

The abi of the function/error/log to decode.

abi
Headers
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Responses

Language
URL
Request
Response
Choose an example:
application/json