0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

beam のトランザクションを取得する

Last updated at Posted at 2019-05-03

beam のトランザクションを取得します.

beam は block explorer でアドレスを指定してログを取得することができません.

GUI wallet もコピペができないので, cli のウォレットを使います.

beam cli wallet document

procedure

すでに GUI wallet でアドレスを作っているものとします.

CLI の beam-wallet.cfg に GUI wallet で作った wallet.db のパスを指定します.
たとえば Windows だと

C:\Users\syoyo\AppData\Local\Beam Wallet\2.xxx\wallet.db

などになります. GUI wallet で wallet.db のありかを確認できます.

$ beam-wallet.exe info

として, 内容が表示されるのを確認します. ここで "wallet が無いから init してね"と表示される場合は, wallet_path の指定が間違っていますので, .cfg での wallet.db のありかを再確認しましょう.

トランザクションを表示する

$ beam-wallet.exe info --tx_history

として, トランザクションを取得できます :tada:
(info をつけないとエラーになるので注意です)

.cfg でパスワードを設定しておけば, ファイルへリダイレクトしてトランザクションを保存もやりやすくなります
(Windows Terminal など, コピペしやすいコンソールアプリを使うのも手でしょうか)

あとは, python あたりで CSV などのフォーマットに整形するといいでしょう!

TODO

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?