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 aremainnet
ordevnet
(if you omit, the default ismainnet
).-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 ethereum \
Devnet
irys balance 0x591B5Ce7cA10a55A9B5d1516eF89693D5b3586b8 \
-t ethereum \
-n devnet \
--provider-url https://rpc.sepolia.dev
ℹ️
Devnet RPC URLs change often, use a recent one from https://chainlist.org/ (opens in a new tab)