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 the following required paramters.

Parameters

  • -h: The node to check
  • -t: The token to use when funding.
  • --provider-url: RPC URL to use. This is only required when using Devnet.

Examples

Nodes 1 and 2

irys balance 0xac568a981b1370b2e1baa8ce30bd5ac9e28c572d \
  -t matic \
  -h https://node1.irys.xyz

Devnet

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

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