@@ -67,7 +67,7 @@ Quick usage examples:
6767alchemy
6868
6969# Agent/script-friendly command
70- alchemy balance 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --json --no-interactive
70+ alchemy data balance 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --json --no-interactive
7171
7272# Agent checks whether a newer CLI version is available
7373alchemy update-check --json --no-interactive
@@ -95,7 +95,6 @@ Use `alchemy help` or `alchemy help <command>` for generated command help.
9595
9696| Command | What it does | Example |
9797| ---| ---| ---|
98- | ` balance [address] ` (` bal [address] ` ) | Gets ETH balance for an address | ` alchemy bal 0x... ` |
9998| ` tx [hash] ` | Gets transaction + receipt by hash | ` alchemy tx 0x... ` |
10099| ` receipt [hash] ` | Gets transaction receipt (status, gas, logs) | ` alchemy receipt 0x... ` |
101100| ` block <number> ` | Gets block details (` latest ` , decimal, or hex) | ` alchemy block latest ` |
@@ -109,21 +108,22 @@ Use `alchemy help` or `alchemy help <command>` for generated command help.
109108
110109| Command | What it does | Example |
111110| ---| ---| ---|
112- | ` tokens [address] ` | Lists ERC-20 balances for an address | ` alchemy tokens 0x... ` |
113- | ` tokens metadata <contract> ` | Gets ERC-20 metadata | ` alchemy tokens metadata 0x... ` |
114- | ` tokens allowance --owner --spender --contract ` | Gets ERC-20 allowance | ` alchemy tokens allowance --owner 0x... --spender 0x... --contract 0x... ` |
115- | ` nfts [address] ` | Lists NFTs owned by an address | ` alchemy nfts 0x... ` |
116- | ` nfts metadata --contract <addr> --token-id <id> ` | Gets NFT metadata by contract/token | ` alchemy nfts metadata --contract 0x... --token-id 1 ` |
117- | ` nfts contract <address> ` | Gets NFT contract metadata | ` alchemy nfts contract 0x... ` |
118- | ` transfers [address] ` | Gets transfer history (` alchemy_getAssetTransfers ` ) | ` alchemy transfers 0x... --category erc20,erc721 ` |
119- | ` prices symbol <symbols> ` | Gets current token prices by symbol | ` alchemy prices symbol ETH,USDC ` |
120- | ` prices address --addresses <json> ` | Gets current token prices by address/network pairs | ` alchemy prices address --addresses '[{"network":"eth-mainnet","address":"0x..."}]' ` |
121- | ` prices historical --body <json> ` | Gets historical prices | ` alchemy prices historical --body '{"symbol":"ETH","startTime":"...","endTime":"..."}' ` |
122- | ` portfolio tokens --body <json> ` | Gets token portfolio data | ` alchemy portfolio tokens --body '{...}' ` |
123- | ` portfolio token-balances --body <json> ` | Gets token balance snapshots | ` alchemy portfolio token-balances --body '{...}' ` |
124- | ` portfolio nfts --body <json> ` | Gets NFT portfolio data | ` alchemy portfolio nfts --body '{...}' ` |
125- | ` portfolio nft-contracts --body <json> ` | Gets NFT contract portfolio data | ` alchemy portfolio nft-contracts --body '{...}' ` |
126- | ` portfolio transactions --body <json> ` | Gets portfolio transaction history | ` alchemy portfolio transactions --body '{...}' ` |
111+ | ` data balance [address] ` | Gets native token balance for an address | ` alchemy data balance 0x... ` |
112+ | ` data tokens balances [address] ` | Lists ERC-20 balances for an address | ` alchemy data tokens balances 0x... ` |
113+ | ` data tokens metadata <contract> ` | Gets ERC-20 metadata | ` alchemy data tokens metadata 0x... ` |
114+ | ` data tokens allowance --owner --spender --contract ` | Gets ERC-20 allowance | ` alchemy data tokens allowance --owner 0x... --spender 0x... --contract 0x... ` |
115+ | ` data nfts [address] ` | Lists NFTs owned by an address | ` alchemy data nfts 0x... ` |
116+ | ` data nfts metadata --contract <addr> --token-id <id> ` | Gets NFT metadata by contract/token | ` alchemy data nfts metadata --contract 0x... --token-id 1 ` |
117+ | ` data nfts contract <address> ` | Gets NFT contract metadata | ` alchemy data nfts contract 0x... ` |
118+ | ` data history [address] ` | Gets transfer history (` alchemy_getAssetTransfers ` ) | ` alchemy data history 0x... --category erc20,erc721 ` |
119+ | ` data price symbol <symbols> ` | Gets current token prices by symbol | ` alchemy data price symbol ETH,USDC ` |
120+ | ` data price address --addresses <json> ` | Gets current token prices by address/network pairs | ` alchemy data price address --addresses '[{"network":"eth-mainnet","address":"0x..."}]' ` |
121+ | ` data price historical --body <json> ` | Gets historical prices | ` alchemy data price historical --body '{"symbol":"ETH","startTime":"...","endTime":"..."}' ` |
122+ | ` data portfolio tokens --body <json> ` | Gets token portfolio data | ` alchemy data portfolio tokens --body '{...}' ` |
123+ | ` data portfolio token-balances --body <json> ` | Gets token balance snapshots | ` alchemy data portfolio token-balances --body '{...}' ` |
124+ | ` data portfolio nfts --body <json> ` | Gets NFT portfolio data | ` alchemy data portfolio nfts --body '{...}' ` |
125+ | ` data portfolio nft-contracts --body <json> ` | Gets NFT contract portfolio data | ` alchemy data portfolio nft-contracts --body '{...}' ` |
126+ | ` data portfolio transactions --body <json> ` | Gets portfolio transaction history | ` alchemy data portfolio transactions --body '{...}' ` |
127127| ` simulate asset-changes --tx <json> ` | Simulates asset changes | ` alchemy simulate asset-changes --tx '{"from":"0x...","to":"0x..."}' ` |
128128| ` simulate execution --tx <json> ` | Simulates execution traces | ` alchemy simulate execution --tx '{"from":"0x...","to":"0x..."}' ` |
129129| ` simulate asset-changes-bundle --txs <json> ` | Simulates bundle asset changes | ` alchemy simulate asset-changes-bundle --txs '[{...}]' ` |
0 commit comments