{"version":"0.2.10","commands":{"accountinfo":{"id":"accountinfo","description":"Print Grumpkin address public key.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli accountinfo","azteccli accountinfo -m 'custom account key derivation message'","azteccli accountinfo --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]}},"args":[],"enableJsonFlag":true},"addkey":{"id":"addkey","description":"Add up to two spending keys to a registered account.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":[],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"useAccountKeySigner":{"name":"useAccountKeySigner","type":"boolean","description":"Create the Aztec signer from the account key and not a registered spending key. Use this if you have funds associated with your account key and not a spending key.","allowNo":false,"exclusive":["signingKey","customSignerMessage"]},"signingKey":{"name":"signingKey","type":"option","description":"An Aztec signing private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["useAccountKeySigner","customSignerMessage"]},"customSignerMessage":{"name":"customSignerMessage","type":"option","description":"Custom message to sign to derive an Aztec signing key.","multiple":false,"exclusive":["useAccountKeySigner","signingKey"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false},"newSigningKey1":{"name":"newSigningKey1","type":"option","description":"New signing key to associated with a registered account.","multiple":false},"newSigningKey2":{"name":"newSigningKey2","type":"option","description":"New signing key to associated with a registered account.","multiple":false}},"args":[{"name":"number","description":"Number of spending keys to register (1 or 2)","required":true},{"name":"newSigningKeyMessage1","description":"Message to sign to generate a new spending key to associate with a registered account.","required":false},{"name":"newSigningKeyMessage2","description":"Message to sign to generate a new spending key to associate with a registered account.","required":false}]},"addrecoverykey":{"id":"addrecoverykey","description":"Add a staged recovery account key to an Aztec account with the RecoveryPayload.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli addrecoverykey .01 --recoveryPayload 0x20e4fee0dace3d58b5d30a1fcd2ec682581e92ccd1b23f9a25b007097c86cd61033293008cb23cc99c07a6c9f6e7d9edd6a46373f7f01b9e7c2b67464690066f037027b6b72b4768ed5d189e05efecb506e08b05ab5aceb6942e20a974bac80a0208a5e2ee037d9cbf38607998cf48c2b4bc946906a990c20695e20412d1740b14574e6b3e1df8b4666eb1f478a42a1731bdde580a27fd9cea83c0ba6043e8be2bfc0e9a229a48a8e4244564622a119877b827b97cf9b66aca02c2a40df5cb031d4ac61d92c23186af8bfa59aecb5e98e7390757791924f94ef45d4b7de4306e35910daf67b99ad0d3f6e9261577b54ac90a5fc9280f5be5166cf5992185a7e5"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"asset":{"name":"asset","type":"option","char":"a","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false},"payload":{"name":"payload","type":"option","description":"The recovery payload to add the recovery account as a spending key.","required":true,"multiple":false}},"args":[{"name":"amount","required":true}]},"balance":{"id":"balance","description":"Print total zkETH balance, spendable balance associated with the privacy account and spendable balance associated with spending keys.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli balance","azteccli balance -m 'custom account key derivation message'","azteccli balance --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]}},"args":[]},"defibridge":{"id":"defibridge","description":"Bridge assets to Ethereum base layer.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":[],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"time":{"name":"time","type":"option","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["deadline","next","instant"],"default":"deadline"},"asset":{"name":"asset","type":"option","char":"a","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"useAccountKeySigner":{"name":"useAccountKeySigner","type":"boolean","description":"Create the Aztec signer from the account key and not a registered spending key. Use this if you have funds associated with your account key and not a spending key.","allowNo":false,"exclusive":["signingKey","customSignerMessage"]},"signingKey":{"name":"signingKey","type":"option","description":"An Aztec signing private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["useAccountKeySigner","customSignerMessage"]},"customSignerMessage":{"name":"customSignerMessage","type":"option","description":"Custom message to sign to derive an Aztec signing key.","multiple":false,"exclusive":["useAccountKeySigner","signingKey"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false}},"args":[{"name":"amount","required":true}]},"deposit":{"id":"deposit","description":"Deposit funds to aztec.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli deposit 0.1","azteccli deposit 1 --asset dai --time instant","azteccli deposit 1 -a dai -t instant","azteccli deposit 1 -a eth -r 0x20e4fee0dace3d58b5d30a1fcd2ec682581e92ccd1b23f9a25b007097c86cd61033293008cb23cc99c07a6c9f6e7d9edd6a46373f7f01b9e7c2b67464690066f","azteccli deposit 1 -m 'custom account key derivation message'","azteccli deposit 1 --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"recipient":{"name":"recipient","type":"option","char":"r","description":"Aztec Grumpkin address or registered alias","multiple":false},"asset":{"name":"asset","type":"option","char":"a","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false}},"args":[{"name":"amount","required":true}]},"getassetdetails":{"id":"getassetdetails","description":"Print the currently supported assets on Aztec and the associated token info.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["aztec-cli getassetinfo"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false}},"args":[]},"getbridges":{"id":"getbridges","description":"Get the bridges on the current network","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["aztec-cli getbridges"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false}},"args":[]},"getfees":{"id":"getfees","description":"Get the current tx fees","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["aztec-cli getfees"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"asset":{"name":"asset","type":"option","char":"a","description":"The fee paying asset to fetch the fees for.","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"}},"args":[]},"history":{"id":"history","description":"Get your Aztec tx history","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli history","azteccli history -m 'custom account key derivation message'","azteccli history --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]}},"args":[],"enableJsonFlag":true},"register":{"id":"register","description":"Register a new aztec account.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli register .1 --alias testooor --ttpPubKey 92b2dbc645eab72f3e3851a7d6dfb1bad170bdf444b5770644f6dd7def66ad31","azteccli register --alias testooor -m 'custom account key derivation message'","azteccli register --alias testooor --customAccountMessage 'custom account derivation message' --customSignerMessage 'custom signer derivation message'","azteccli register --alias testooor --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9 --signingKey 0c5e934c191d9b0ad2bd07d5042414efc4a1523b465648918a678cbd6fb5b241"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"alias":{"name":"alias","type":"option","description":"alias to register","required":true,"multiple":false},"ttpPubKey":{"name":"ttpPubKey","type":"option","description":"trusted third party public key from which to generate the recovery public key","required":false,"multiple":false},"depositor":{"name":"depositor","type":"option","description":"optional alternative ethereum depositor to pay fees if you're not paying with the account you're currently logged in with","required":false,"multiple":false},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"asset":{"name":"asset","type":"option","char":"a","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"useAccountKeySigner":{"name":"useAccountKeySigner","type":"boolean","description":"Create the Aztec signer from the account key and not a registered spending key. Use this if you have funds associated with your account key and not a spending key.","allowNo":false,"exclusive":["signingKey","customSignerMessage"]},"signingKey":{"name":"signingKey","type":"option","description":"An Aztec signing private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["useAccountKeySigner","customSignerMessage"]},"customSignerMessage":{"name":"customSignerMessage","type":"option","description":"Custom message to sign to derive an Aztec signing key.","multiple":false,"exclusive":["useAccountKeySigner","signingKey"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false}},"args":[{"name":"deposit","description":"amount to deposit with registration (can be 0)","default":0}]},"stagerecoverykey":{"id":"stagerecoverykey","description":"Stage a recovery key to your registered Aztec account and get the recovery payload.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli stagerecoverykey 0x14574e6b3e1df8b4666eb1f478a42a1731bdde580a27fd9cea83c0ba6043e8be2bfc0e9a229a48a8e4244564622a119877b827b97cf9b66aca02c2a40df5cb03 --alias yourAlias"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"alias":{"name":"alias","type":"option","description":"Alias for the account to generate a recovery payload for.","required":true,"multiple":false},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"useAccountKeySigner":{"name":"useAccountKeySigner","type":"boolean","description":"Create the Aztec signer from the account key and not a registered spending key. Use this if you have funds associated with your account key and not a spending key.","allowNo":false,"exclusive":["signingKey","customSignerMessage"]},"signingKey":{"name":"signingKey","type":"option","description":"An Aztec signing private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["useAccountKeySigner","customSignerMessage"]},"customSignerMessage":{"name":"customSignerMessage","type":"option","description":"Custom message to sign to derive an Aztec signing key.","multiple":false,"exclusive":["useAccountKeySigner","signingKey"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false}},"args":[{"name":"ttpPubKey","description":"Aztec public key of the trusted third party that will help recover the account.","required":true}]},"transfer":{"id":"transfer","description":"Transfer funds on the Aztec network.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli transfer 0.1 -r theiralias","azteccli transfer 1 -r 0x20e4fee0dace3d58b5d30a1fcd2ec682581e92ccd1b23f9a25b007097c86cd61033293008cb23cc99c07a6c9f6e7d9edd6a46373f7f01b9e7c2b67464690066f","azteccli transfer 1 -r theiralias --time instant --customAccountMessage 'custom account derivation message' --customSignerMessage 'custom signer derivation message'","azteccli transfer 1 -r theiralias --asset dai --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9 --signingKey 0c5e934c191d9b0ad2bd07d5042414efc4a1523b465648918a678cbd6fb5b241"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"asset":{"name":"asset","type":"option","char":"a","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"recipient":{"name":"recipient","type":"option","char":"r","description":"Aztec Grumpkin address or registered alias","required":true,"multiple":false},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"useAccountKeySigner":{"name":"useAccountKeySigner","type":"boolean","description":"Create the Aztec signer from the account key and not a registered spending key. Use this if you have funds associated with your account key and not a spending key.","allowNo":false,"exclusive":["signingKey","customSignerMessage"]},"signingKey":{"name":"signingKey","type":"option","description":"An Aztec signing private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["useAccountKeySigner","customSignerMessage"]},"customSignerMessage":{"name":"customSignerMessage","type":"option","description":"Custom message to sign to derive an Aztec signing key.","multiple":false,"exclusive":["useAccountKeySigner","signingKey"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false}},"args":[{"name":"amount","required":true}]},"withdraw":{"id":"withdraw","description":"Withdraw funds from the Aztec network.","strict":true,"pluginName":"azteccli","pluginAlias":"azteccli","pluginType":"core","aliases":[],"examples":["azteccli withdraw 0.1 -r 0x2e782B05290A7fFfA137a81a2bad2446AD0DdFEB","azteccli withdraw 1 -r 0x2e782B05290A7fFfA137a81a2bad2446AD0DdFEB --accountKey 23ffa7b774a1263e51d34f11b99cd78cbb3ad8de6f4203ea393c8de1a1be05d9 --signingKey 0c5e934c191d9b0ad2bd07d5042414efc4a1523b465648918a678cbd6fb5b241","azteccli withdraw 1 -r 0x2e782B05290A7fFfA137a81a2bad2446AD0DdFEB --customAccountMessage 'custom account derivation message' --customSignerMessage 'custom signer derivation message'"],"flags":{"logSdk":{"name":"logSdk","type":"boolean","description":"verbose Aztec SDK logging","allowNo":false},"recipient":{"name":"recipient","type":"option","char":"r","description":"Ethereum account address to withdraw to.","required":true,"multiple":false},"asset":{"name":"asset","type":"option","char":"a","multiple":false,"options":["eth","dai","wsteth"],"default":"eth"},"time":{"name":"time","type":"option","char":"t","description":"transaction time (next is slower + cheaper)","multiple":false,"options":["next","instant"],"default":"next"},"customAccountMessage":{"name":"customAccountMessage","type":"option","char":"m","description":"Custom message to sign to derive an Aztec account key","multiple":false,"exclusive":["accountKey"]},"accountKey":{"name":"accountKey","type":"option","char":"k","description":"An Aztec account private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["customAccountMessage"]},"useAccountKeySigner":{"name":"useAccountKeySigner","type":"boolean","description":"Create the Aztec signer from the account key and not a registered spending key. Use this if you have funds associated with your account key and not a spending key.","allowNo":false,"exclusive":["signingKey","customSignerMessage"]},"signingKey":{"name":"signingKey","type":"option","description":"An Aztec signing private key to use instead of deriving one from an Ethereum wallet.","multiple":false,"exclusive":["useAccountKeySigner","customSignerMessage"]},"customSignerMessage":{"name":"customSignerMessage","type":"option","description":"Custom message to sign to derive an Aztec signing key.","multiple":false,"exclusive":["useAccountKeySigner","signingKey"]},"spendingKeyRequired":{"name":"spendingKeyRequired","type":"boolean","description":"Should the recipient be required to have a registered spending key?","allowNo":false}},"args":[{"name":"amount"}]}}}