DEVELOPER DOCS
Commands
price

price

Checks the price to upload the specified number of bytes.

Parameters

  • -t: The token used for payment.
  • -h: URL of the node you will upload to.
  • --provider-url: RPC URL to use. This is only required when using Devnet.

Examples

Nodes 1 and 2

irys price 1000000 \
  -t matic \
  -h https://node1.irys.xyz

Devnet

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