Common Flags and Arguments

Several commands in the L1X CLI share common flags and arguments. Here's an explanation of some of the most frequently used ones:

  • --endpoint: Specifies the L1X endpoint URL to connect to. The default value is https://v2-mainnet-rpc.l1x.foundation, which points to the L1X mainnet.

  • --from: Specifies the L1X wallet address from which the transaction or operation should be performed.

  • --fee_limit: Sets the maximum fee limit (in L1X tokens) that the user is willing to pay for the transaction.

  • --nonce: Specifies the nonce value to be used for the transaction. If not provided, the CLI will automatically fetch and use the next available nonce for the specified wallet address.

Last updated