DEVELOPER DOCS
Commands
withdraw

withdraw

Withdraws funds from specified Irys node.

ℹ️

Not all calls to withdraw will post immediately to your account, some blockchains are faster than others. When funding with AR, it can take upwards of 40 minutes before the balance post. For MATIC, ETH and SOL, balances will usually post in < 10s.

Parameters

  • -h: The node to withdraw funds from
  • -t: The token to withdraw.
  • -w: Your private key.
  • --provider-url: RPC URL to use. This is only required when using Devnet.

Examples

Nodes 1 and 2

irys withdraw 1000000000000000 \
  -h https://node1.irys.xyz \
  -t matic \
  -w bf20......c9885307

Devnet

irys withdraw 1000000000000000 \
  -h https://devnet.irys.xyz \
  -t matic \
  -w bf20......c9885307 \
  --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)