BEAM·v0.1.1·MACOS · LINUX·SHA-256 VERIFIED

call

Run a read-only contract call against any ABI signature. No write, no gas.

Usage

$ beam call <contract> <function-sig> [args...]

<function-sig> uses standard ABI signature syntax. To get decoded output, include the return types after a colon.

Examples

$ beam call 0xContract "balanceOf(address):(uint256)" 0x1111...
$ beam call 0xContract "symbol():(string)"
$ beam call 0xContract "name():(string)"
$ beam call 0xContract "getReserves():(uint112,uint112,uint32)"

Flags

  • --from <wallet|address|ens> — the address the call is impersonating (only matters for ACL-gated views).
  • --chain <name|id> — override the selected chain.
  • --rpc <url> — override the RPC for this call.
  • --format <mode>json, yaml, markdown, compact, quiet, or default text.

Read-only

beam call never sends a transaction. For state-changing calls, use beam send — it accepts the same signature syntax and adds --value for native-token-attached methods.