0.0.26 • Published 4 months ago
@thirdwavelabs/cli v0.0.26
thirdwave
Interact with Thirdwave's API
Usage
$ npm install -g @thirdwavelabs/cli
$ thirdwave COMMAND
running command...
$ thirdwave (--version)
@thirdwavelabs/cli/0.0.26 linux-x64 node-v22.14.0
$ thirdwave --help [COMMAND]
USAGE
$ thirdwave COMMAND
...
Commands
thirdwave active-chains [ADDRESSES]
thirdwave associated-wallets [ADDRESSES]
thirdwave autocomplete [SHELL]
thirdwave config
thirdwave config init
thirdwave config ls
thirdwave config reset
thirdwave erc20-tokens [ADDRESSES]
thirdwave help [COMMAND]
thirdwave native-tokens [ADDRESSES]
thirdwave update [CHANNEL]
thirdwave version
thirdwave wallets [ADDRESSES]
thirdwave active-chains [ADDRESSES]
Look up EVM wallets active chains.
USAGE
$ thirdwave active-chains [ADDRESSES...] -f csv|json|table [-a <value>] [-o <value>] [--progress]
ARGUMENTS
ADDRESSES... 40 character hex value(s) preceeded with "0x" or "0X"
FLAGS
-a, --addresses=<value> File containing a list of addresses delimited by a line break, newline, or comma.
-f, --format=<option> (required) [default: table] Output format.
<options: csv|json|table>
-o, --output=<value> File name to print output to.
--[no-]progress Toggle display of progress bar.
DESCRIPTION
Look up EVM wallets active chains.
EXAMPLES
Resolve active chains of a single wallet.
$ thirdwave active-chains 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Resolve active chains of multiple wallets and format results as csv.
$ thirdwave active-chains --format=csv 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
0x588031347beaa0d43978bc8c0094138a67d1a071
Resolve active chains of multiple wallets via pipe.
echo "0xd8da6bf26964af9d7eed9e03e53415d37aa96045 0x588031347beaa0d43978bc8c0094138a67d1a071" | thirdwave \
active-chains
thirdwave associated-wallets [ADDRESSES]
Look up EVM wallets associated wallets.
USAGE
$ thirdwave associated-wallets [ADDRESSES...] -f csv|json|table [-a <value>] [-o <value>] [--progress]
ARGUMENTS
ADDRESSES... 40 character hex value(s) preceeded with "0x" or "0X"
FLAGS
-a, --addresses=<value> File containing a list of addresses delimited by a line break, newline, or comma.
-f, --format=<option> (required) [default: table] Output format.
<options: csv|json|table>
-o, --output=<value> File name to print output to.
--[no-]progress Toggle display of progress bar.
DESCRIPTION
Look up EVM wallets associated wallets.
EXAMPLES
Resolve associated wallets of a single wallet.
$ thirdwave associated-wallets 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Resolve associated wallets of multiple wallets and format results as csv.
$ thirdwave associated-wallets --format=csv 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
0x588031347beaa0d43978bc8c0094138a67d1a071
Resolve associated wallets of multiple wallets via pipe.
echo "0xd8da6bf26964af9d7eed9e03e53415d37aa96045 0x588031347beaa0d43978bc8c0094138a67d1a071" | thirdwave \
associated-wallets
thirdwave autocomplete [SHELL]
Display autocomplete installation instructions.
USAGE
$ thirdwave autocomplete [SHELL] [-r]
ARGUMENTS
SHELL (zsh|bash|powershell) Shell type
FLAGS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
DESCRIPTION
Display autocomplete installation instructions.
EXAMPLES
$ thirdwave autocomplete
$ thirdwave autocomplete bash
$ thirdwave autocomplete zsh
$ thirdwave autocomplete powershell
$ thirdwave autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
thirdwave config
Initialize configuration values.
USAGE
$ thirdwave config [--grpc-access-token <value>] [--grpc-timeout <value>] [--grpc-url <value>]
[--grpc-validate-ssl-certificate]
FLAGS
--grpc-access-token=<value> Authorization token to send to a gRPC server in an X-Api-Key HTTP header.
--grpc-timeout=<value> Milliseconds to wait for a response.
--grpc-url=<value> [default: https://api.thirdwavelabs.com/grpc] gRPC service URL.
--[no-]grpc-validate-ssl-certificate Reject any connection which is not authorized with the list of supplied
Certificate Authorities.
DESCRIPTION
Initialize configuration values.
EXAMPLES
Configure the command with an access token.
$ thirdwave config
Add an access token and configuration for a custom gRPC endpoint.
$ thirdwave config --grpc-url=https://localhost:4000/grpc
thirdwave config init
Initialize configuration values.
USAGE
$ thirdwave config init [--grpc-access-token <value>] [--grpc-timeout <value>] [--grpc-url <value>]
[--grpc-validate-ssl-certificate]
FLAGS
--grpc-access-token=<value> Authorization token to send to a gRPC server in an X-Api-Key HTTP header.
--grpc-timeout=<value> Milliseconds to wait for a response.
--grpc-url=<value> [default: https://api.thirdwavelabs.com/grpc] gRPC service URL.
--[no-]grpc-validate-ssl-certificate Reject any connection which is not authorized with the list of supplied
Certificate Authorities.
DESCRIPTION
Initialize configuration values.
EXAMPLES
Configure the command with an access token.
$ thirdwave config init
Add an access token and configuration for a custom gRPC endpoint.
$ thirdwave config init --grpc-url=https://localhost:4000/grpc
thirdwave config ls
List configuration variables
USAGE
$ thirdwave config ls [--json]
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List configuration variables
EXAMPLES
List configuration variables.
$ thirdwave config ls
thirdwave config reset
Reset configuration file.
USAGE
$ thirdwave config reset [--json]
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Reset configuration file.
EXAMPLES
Reset configuration file.
$ thirdwave config reset
thirdwave erc20-tokens [ADDRESSES]
Look up EVM wallets ERC20 token holdings.
USAGE
$ thirdwave erc20-tokens [ADDRESSES...] -f csv|json|table [-a <value>] [-o <value>] [--progress]
ARGUMENTS
ADDRESSES... 40 character hex value(s) preceeded with "0x" or "0X"
FLAGS
-a, --addresses=<value> File containing a list of addresses delimited by a line break, newline, or comma.
-f, --format=<option> (required) [default: table] Output format.
<options: csv|json|table>
-o, --output=<value> File name to print output to.
--[no-]progress Toggle display of progress bar.
DESCRIPTION
Look up EVM wallets ERC20 token holdings.
EXAMPLES
Resolve ERC20 token holdings of a single wallet.
$ thirdwave erc20-tokens 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Resolve ERC20 token holdings of multiple wallets and format results as csv.
$ thirdwave erc20-tokens --format=csv 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
0x588031347beaa0d43978bc8c0094138a67d1a071
Resolve ERC20 token of multiple wallets holdings via pipe.
echo "0xd8da6bf26964af9d7eed9e03e53415d37aa96045 0x588031347beaa0d43978bc8c0094138a67d1a071" | thirdwave \
erc20-tokens
thirdwave help [COMMAND]
Display help for thirdwave.
USAGE
$ thirdwave help [COMMAND...] [-n]
ARGUMENTS
COMMAND... Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for thirdwave.
See code: @oclif/plugin-help
thirdwave native-tokens [ADDRESSES]
Look up EVM wallets native token holdings.
USAGE
$ thirdwave native-tokens [ADDRESSES...] -f csv|json|table [-a <value>] [-o <value>] [--progress]
ARGUMENTS
ADDRESSES... 40 character hex value(s) preceeded with "0x" or "0X"
FLAGS
-a, --addresses=<value> File containing a list of addresses delimited by a line break, newline, or comma.
-f, --format=<option> (required) [default: table] Output format.
<options: csv|json|table>
-o, --output=<value> File name to print output to.
--[no-]progress Toggle display of progress bar.
DESCRIPTION
Look up EVM wallets native token holdings.
EXAMPLES
Resolve native token holdings of a single wallet.
$ thirdwave native-tokens 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Resolve native token holdings of multiple wallets and format results as csv.
$ thirdwave native-tokens --format=csv 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
0x588031347beaa0d43978bc8c0094138a67d1a071
Resolve native token holdings of multiple wallets via pipe.
echo "0xd8da6bf26964af9d7eed9e03e53415d37aa96045 0x588031347beaa0d43978bc8c0094138a67d1a071" | thirdwave \
native-tokens
thirdwave update [CHANNEL]
update the thirdwave CLI
USAGE
$ thirdwave update [CHANNEL] [--force | | [-a | -v <value> | -i]] [-b ]
FLAGS
-a, --available See available versions.
-b, --verbose Show more details about the available versions.
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
-v, --version=<value> Install a specific version.
--force Force a re-download of the requested version.
DESCRIPTION
update the thirdwave CLI
EXAMPLES
Update to the stable channel:
$ thirdwave update stable
Update to a specific version:
$ thirdwave update --version 1.0.0
Interactively select version:
$ thirdwave update --interactive
See available versions:
$ thirdwave update --available
See code: @oclif/plugin-update
thirdwave version
USAGE
$ thirdwave version [--json] [--verbose]
FLAGS
--verbose Show additional information about the CLI.
GLOBAL FLAGS
--json Format output as json.
FLAG DESCRIPTIONS
--verbose Show additional information about the CLI.
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
See code: @oclif/plugin-version
thirdwave wallets [ADDRESSES]
Look up EVM wallets.
USAGE
$ thirdwave wallets [ADDRESSES...] -f csv|json|table [-a <value>] [-o <value>] [--progress]
ARGUMENTS
ADDRESSES... 40 character hex value(s) preceeded with "0x" or "0X"
FLAGS
-a, --addresses=<value> File containing a list of addresses delimited by a line break, newline, or comma.
-f, --format=<option> (required) [default: table] Output format.
<options: csv|json|table>
-o, --output=<value> File name to print output to.
--[no-]progress Toggle display of progress bar.
DESCRIPTION
Look up EVM wallets.
EXAMPLES
Resolve a single wallet.
$ thirdwave wallets 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Resolve multiple wallets and format results as csv.
$ thirdwave wallets --format=csv 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
0x588031347beaa0d43978bc8c0094138a67d1a071
Resolve multiple wallets via pipe.
echo "0xd8da6bf26964af9d7eed9e03e53415d37aa96045 0x588031347beaa0d43978bc8c0094138a67d1a071" | thirdwave wallets
Resolve multiple wallets with a file containing addresses and output them in a csv format. Helpful for very large
lists.
$ thirdwave wallets -a ./customer_wallets.txt --f csv