QuickCast
Extra examples
Run the command online

ABI commands

  • cast decode-abi
    Extra examples
    Run the command online
  • cast abi-encode
    Extra examples
    Run the command online
  • cast 4byte
  • cast 4byte-calldata
  • cast 4byte-event
  • cast calldata
    Extra examples
    Run the command online
  • cast decode-calldata
    Extra examples
    Run the command online
  • cast pretty-calldata
  • cast selectors
  • cast upload-signature

conversion commands

  • cast format-bytes32-string
  • cast from-bin
  • cast from-fixed-point
  • cast from-utf8
  • cast from-wei
    Extra examples
    Run the command online
  • cast parse-bytes32-address
  • cast parse-bytes32-string
  • cast to-ascii
  • cast to-base
  • cast to-bytes32
    Extra examples
    Run the command online
  • cast to-dec
    Extra examples
    Run the command online
  • cast to-fixed-point
  • cast to-hex
    Extra examples
    Run the command online
  • cast to-hexdata
  • cast to-int256
  • cast to-rlp
  • cast to-uint256
  • cast to-unit
    Extra examples
    Run the command online
  • cast to-wei
  • cast shl
  • cast shr

utility commands

  • cast address-zero
  • cast sig
  • cast sig-event
  • cast keccak
    Extra examples
    Run the command online
  • cast compute-address
  • cast create2
  • cast interface
  • cast index
  • cast concat-hex
  • cast max-int
  • cast min-int
  • cast max-uint
  • cast to-check-sum-address

chain commands

  • cast chain-id
    Extra examples
  • cast chain
    Extra examples
  • cast client
    Extra examples

transaction commands

  • cast publish
  • cast receipt
    Extra examples
  • cast send
  • cast call
  • cast rpc
  • cast tx
  • cast run
  • cast estimate
  • cast access-list
  • cast logs

block commands

  • cast find-block
  • cast gas-price
  • cast block-number
  • cast basefee
  • cast block
  • cast age

account commands

  • cast balance
  • cast storage
  • cast proof
  • cast nonce
  • cast code
  • cast codesize

ENS commands

  • cast lookup-address
  • cast resolve-name
  • cast namehash

Etherscan commands

  • cast etherscan-source

wallet commands

  • cast wallet
  • cast wallet new
  • cast wallet address
  • cast wallet sign
  • cast wallet vanity
  • cast wallet verify

general commands

  • cast help
  • cast completions

DOCUMENTATION

cast 4byte


NAME

cast-4byte - Get the function signatures for the given selector from https://openchain.xyz/signatures.

SYNOPSIS

cast 4byte [options] sig

DESCRIPTION

Get the function signatures for the given selector from https://openchain.xyz/signatures.

OPTIONS

Common Options

-h
--help
    Prints help information.

EXAMPLES

  1. Get the function signature for the selector 0x8cc5ce99:
    cast 4byte 0x8cc5ce99
    

SEE ALSO

cast, cast 4byte-calldata, cast 4byte-event, cast selectors

by @velvet_sharkvelvetshark.comSource. Feel free to submit a PR!