cast 4byte-decode

NAME

cast-4byte-decode - Decode ABI-encoded calldata using https://openchain.xyz/signatures.

SYNOPSIS

cast 4byte-decode [options] calldata

DESCRIPTION

Decode ABI-encoded calldata using https://openchain.xyz/signatures.

OPTIONS

4byte Options

--id id
    The index of the resolved signature to use.     
    https://openchain.xyz/signatures can have multiple possible signatures for a given selector.
    The index can be an integer, or the tags “earliest” and “latest”.

Common Options

-h
--help
    Prints help information.

EXAMPLES

  1. Decode calldata for a transfer call:
    cast 4byte-decode 0xa9059cbb000000000000000000000000e78388b4ce79068e89bf8aa7f218ef6b9ab0e9d00000000000000000000000000000000000000000000000000174b37380cea000
    

SEE ALSO

cast, cast 4byte, cast 4byte-event