Crates.io | solana-cli-explorer |
lib.rs | solana-cli-explorer |
version | 0.4.3 |
source | src |
created_at | 2024-01-08 05:58:45.477783 |
updated_at | 2024-10-05 00:26:51.208008 |
description | A command line explorer for the Solana Blockchain. |
homepage | |
repository | https://github.com/cavemanloverboy/sol |
max_upload_size | |
id | 1092215 |
size | 203,105 |
sol
: A command line explorer for the Solana Blockchaincargo install --path .
from within the root of the repositorycargo install solana-cli-explorer
See the help for possible queries and arguments:
$ sol --help
A command line explorer for the Solana blockchain! Inspect transactions and accounts with this explorer!
Usage: sol [OPTIONS] <COMMAND>
Commands:
transaction Provide a transaction signature to inspect status, accounts, logs
account Provide an account pubkey to inspect account contents
block Provide a block's slot to inspect its contents
help Print this message or the help of the given subcommand(s)
Options:
-u, --rpc-url <RPC_URL> The url/endpoint to use for any rpc requests [default: http://api.mainnet-beta.solana.com]
-h, --help Print help
-V, --version Print version
sol transaction 2bLs9yrtAsVyDpSBHLntf8YpDQ9YrQNgr4iKwqBfJdoe9v7eZEFVm5dQD7CjExEMngD7h6c1nxrT8MAhFU8LnB6X
Output:
+------------------------+----------------------------------------------+
| Transaction Overview | |
+========================+==============================================+
| Result | SUCCESS |
+------------------------+----------------------------------------------+
| Slot | 240511383 |
+------------------------+----------------------------------------------+
| Timestamp | 1704683699 |
+------------------------+----------------------------------------------+
| Fee | ◎0.001405 |
+------------------------+----------------------------------------------+
| Version | 0 |
+------------------------+----------------------------------------------+
| Recent Blockhash | 6tMLgquGH7PHJb5HSEEKDmrGaMgjGW3aK62sV2TjKNad |
+------------------------+----------------------------------------------+
| Compute Units Consumed | 156,989 |
+------------------------+----------------------------------------------+
+----------------------------------------------+--------+----------+----------------+----------------+
| Accounts | Signer | Writable | Pre-Balances | Post-balances |
+==============================================+========+==========+================+================+
| 75pUd8wpfg4wVnQ2vvaj3N1WsgMaGM4maYmpu3LCxByP | TRUE | TRUE | 56,502,102,786 | 56,498,658,506 |
+----------------------------------------------+--------+----------+----------------+----------------+
| AGaTZdmbVQNpQvXUdG8vXG47NLdrkrSTdqkGM4Q8n5Y2 | FALSE | TRUE | 0 | 2,039,280 |
+----------------------------------------------+--------+----------+----------------+----------------+
| Bpwhmm3yefBm4GPmPxB37u5qMUbN5FbZZCp5qdvoTPt2 | FALSE | TRUE | 36,694,840 | 36,694,840 |
+----------------------------------------------+--------+----------+----------------+----------------+
| GrM4kXo6Uwu6FGGV8s1Dgs8YJiQenmZV6Pzxe91tgWY9 | FALSE | TRUE | 2,561,280 | 2,561,280 |
+----------------------------------------------+--------+----------+----------------+----------------+
| ComputeBudget111111111111111111111111111111 | FALSE | FALSE | 1 | 1 |
+----------------------------------------------+--------+----------+----------------+----------------+
| ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL | FALSE | FALSE | 731,913,600 | 731,913,600 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 11111111111111111111111111111111 | FALSE | FALSE | 1 | 1 |
+----------------------------------------------+--------+----------+----------------+----------------+
| dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH | FALSE | FALSE | 1,141,440 | 1,141,440 |
+----------------------------------------------+--------+----------+----------------+----------------+
| JCNCMFXo5M5qwUPg2Utu1u6YWp3MbygxqBsBeXXJfrw | FALSE | FALSE | 16,500,000,001 | 16,500,000,001 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 2AG6YN9Wi7JDrFcLNhaEP2NrXyZKFj7EjMPdkvwPdRR1 | FALSE | TRUE | 2,039,280 | 2,039,280 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 6Aq7WBtsZVyumcRxpAoKNyWb97gAzp3be2LeQ9yE6SVX | FALSE | TRUE | 6,291,840 | 6,291,840 |
+----------------------------------------------+--------+----------+----------------+----------------+
| J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn | FALSE | FALSE | 1,461,600 | 1,461,600 |
+----------------------------------------------+--------+----------+----------------+----------------+
| TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | FALSE | FALSE | 934,087,680 | 934,087,680 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 5zpq7DvB6UdFFvpmBPspGPNfUGoBRRCE2HHg5u3gxcsN | FALSE | FALSE | 7,795,200 | 7,795,200 |
+----------------------------------------------+--------+----------+----------------+----------------+
| AFrYBhb5wKQtxRS9UA9YRS4V3dwFm7SqmS6DHKq6YVgo | FALSE | FALSE | 23,942,400 | 23,942,400 |
+----------------------------------------------+--------+----------+----------------+----------------+
| Gnt27xtC473ZT2Mw5u8wZ68Z3gULkSTb5DuxJy7eJotD | FALSE | FALSE | 23,942,400 | 23,942,400 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 7yyaeuJ1GGtVBLT2z2xub5ZWYKaNhF28mj1RdV4VDFVk | FALSE | FALSE | 23,942,400 | 23,942,400 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 3fy2oMRJGceC3GAt9zGUBWt8MzjV5XxQDWKYLtiHPevX | FALSE | FALSE | 6,291,840 | 6,291,840 |
+----------------------------------------------+--------+----------+----------------+----------------+
| 6gMq3mRCKf8aP3ttTyYhuijVZ2LGi14oDsBbkgubfLB3 | FALSE | FALSE | 6,291,840 | 6,291,840 |
+----------------------------------------------+--------+----------+----------------+----------------+
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program Logs |
+=======================================================================================================================================+
| Program ComputeBudget111111111111111111111111111111 invoke [1] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program ComputeBudget111111111111111111111111111111 success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program ComputeBudget111111111111111111111111111111 invoke [1] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program ComputeBudget111111111111111111111111111111 success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Create |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Instruction: GetAccountDataSize |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1595 of 1391633 compute units |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA= |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program 11111111111111111111111111111111 invoke [2] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program 11111111111111111111111111111111 success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Initialize the associated token account |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Instruction: InitializeImmutableOwner |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Please upgrade to SPL Token 2022 for immutable owner support |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 1385170 compute units |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Instruction: InitializeAccount3 |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4214 of 1381288 compute units |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 23209 of 1400000 compute units |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH invoke [1] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Instruction: Withdraw |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program data: t7rLuuG7X4KzaJtlAAAAAAYATtcNcnC2AAAAAAAAAAAAAM8jKFQCAAAAAAAAAAAAAABuARXcrAQAAAAAAAAAAAAAo2K/VAIAAAAAAAAAAAAAACChBwDwSQI |
| AQEtMAA== |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Invalid Oracle: Stale (oracle_delay=11) |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Invalid Oracle: Stale (oracle_delay=16) |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program data: tPHaz2aHLIazaJtlAAAAAFpiIFntXUbq4BzTFllkzi3c24teZ6+ATT7b+ebEgFLWoN0FJuY7/nndjkozpncXbOxa2kX9UxefHUkH7RZ+1rcBqHgAAAAAAAA |
| A5AtUAgAAAAYAKBGfBQAAAABO1w1ycLYAAAAAAAAAAAAAyZxtL68EAAAAAAAAAAAAAM8jKFQCAAAAAAAAAAAAAACjYr9UAgAAAAAAAAAAAAAAYzWnXQAAAACQqzY4AAAAAAIA |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2] |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program log: Instruction: Transfer |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 1257214 compute units |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH consumed 133780 of 1376791 compute units |
+---------------------------------------------------------------------------------------------------------------------------------------+
| Program dRiftyHA39MWEi3m9aunc5MzRF1JYuBsbn6VPcn33UH success |
+---------------------------------------------------------------------------------------------------------------------------------------+
Presently, this cli is only a transaction, account, and block explorer. We hope to support other queries in the future.