Exporting SURI
Before running any script with the avn-api, let's set your AvN mnemonic or secret seed generated via the previous page as an environment variable by running in your terminal:
export SURI=<mnemonic OR secret seed>
Your secret URI (SURI) could either be a mnemonic (seed phrase) or the secret seed (private key) of your account.
info
This account must hold a minimum of 1 AVT
Examples
export SURI='flag dynamic laptop often park illegal equip curve game blame junior warm'
OR
export SURI=0x5392ca60a61aea99fce14358798de93c1bc11c3696a905718738c71fae539c24
This does not return anything.
danger
It's important that you keep the mnemonic/seed secret safe and not expose it anywhere else. If this data is compromised, you could lose your funds.