Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.45 KB

File metadata and controls

54 lines (39 loc) · 1.45 KB

polycli contract

Auto-generated documentation.

Table of Contents

Description

Interact with smart contracts and fetch contract information from the blockchain.

polycli contract [flags]

Usage

The contract is meant to help gathering smart contract information that is not directly available through the RPC endpoints

$ polycli contract --rpc-url "http://localhost:8545" --address "0x0000000000000000000000000000000000000001"

Flags

      --address string   contract address
  -h, --help             help for contract
      --rpc-url string   RPC URL of network containing contract (default "http://localhost:8545")

The command also inherits flags from parent commands.

      --config string      config file (default is $HOME/.polygon-cli.yaml)
      --pretty-logs        output logs in pretty format instead of JSON (default true)
  -v, --verbosity string   log level (string or int):
                             0   - silent
                             100 - panic
                             200 - fatal
                             300 - error
                             400 - warn
                             500 - info (default)
                             600 - debug
                             700 - trace (default "info")

See also

  • polycli - A Swiss Army knife of blockchain tools.