Build
ONCHAIN STORAGE
Storage CLI
Commands
withdraw

withdraw

Withdraws funds from Irys.

ℹ️

Not all calls to withdraw will post immediately to your account, some blockchains are faster than others.

Parameters

Option
Description
-n
The network to check, testnet or devnet, defaults to testnet.
-t
The token to use when funding.
-w
Your private key.
--provider-url
RPC URL to use.

Examples

Testnet

irys withdraw 1000000000000000 \
  -t ethereum \
  -w bf20......c9885307 

Devnet

irys withdraw 1000000000000000 \
  -n testnet \
  -t ethereum \
  -w bf20......c9885307 \
  --provider-url https://rpc.sepolia.dev
ℹ️

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