DEVELOPER DOCS
Commands
price

price

Checks the price to upload the specified number of bytes.

Parameters

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

Examples

Mainnet

irys price 1000000 \
  -t ethereum

Devnet

irys price 1000000 \
  -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)