5.3 Submitting Transactions
Once you've generated a transaction, you need to submit it to the network. Here's how:
./target/debug/sov-cli node submit-batch --wait-for-processing by-address YOUR_ADDRESS
Replace YOUR_ADDRESS
with your actual Spicenet address.
This command submits all pending transactions in your local pool to the network. The --wait-for-processing
flag ensures that the command doesn't return until the transactions have been processed by the network.
After submitting, you should see output similar to:
Submitted batch of 1 transactions.
Transaction hash: 0x1234...5678
Waiting for processing...
Transaction processed successfully.
Last updated
Was this helpful?