DEVELOPER DOCS
Commands
balance

balance

Returns the amount of funds available on the specified node. Provide your public wallet address as an argument, along with:

Parameters

  • -n: The network to check. Values are mainnet or devnet (if you omit, the default is mainnet).
  • -t: The token to use when funding.
  • --provider-url: RPC URL to use. This is only required when using Devnet.

Examples

Mainnet

irys balance 0xac568a981b1370b2e1baa8ce30bd5ac9e28c572d \
  -t matic \

Devnet

irys balance 0x591B5Ce7cA10a55A9B5d1516eF89693D5b3586b8 \
  -t matic \
  -n devnet \
  --provider-url https://rpc-mumbai.maticvigil.com
ℹ️

Devnet RPC URLs change often, use a recent one from https://chainlist.org/ (opens in a new tab)