get https://api.amberdata.com/blockchains/contracts//functions
Retrieves the functions of the specified contract (if available) - if not available on chain, the byte code is decompiled and a list of functions is extracted from it.
Blockchains Supported
This endpoint supports Ethereum.
Response Data
Field | Type | Description |
---|---|---|
payload | array | An array of every contract function along with details about each function. |
inputs | array | An array of the function's parameter including its name and type. |
name | string | The name of the function parameter. |
type | string | The type of the function parameter (i.e. unit256). |
textSignature | string | The human readable function name. If unavailable the 4 byte signature will be displayed instead. |
hexadecimalSignature | string | The 4 byte signature of the function. |
fullHexadecimalSignature | string | The full signature of the function. |
name | string | The name of the function. |
type | string | The type: function or event . |