4byte
Retrieve Ethereum function signatures using a 4-byte hex selector from the 4byte.directory database. Simplify smart contract interactions by identifying function details quickly and accurately.
Instructions
Get function signatures for the given selector from 4byte.directory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Function selector (4-byte hex), e.g., '0xa9059cbb' or 'a9059cbb' |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"selector": {
"description": "Function selector (4-byte hex), e.g., '0xa9059cbb' or 'a9059cbb'",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}