Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get transaction #18

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add get transaction #18

wants to merge 4 commits into from

Conversation

Juan-M-V
Copy link

@Juan-M-V Juan-M-V commented Nov 23, 2023

What πŸ’»

Add get-transaction command

Why βœ‹

To get transaction data by it's hash

Evidence πŸ“·

$> npm run dev transaction get-transaction

> [email protected] dev
> ts-node-esm src/index.ts transaction get-transaction

? Chain to use Local Dockerized node
? get transaction by hash 0xb89858c34996a2afc747c8161502d7e1cc12e341307dd5b18daa93bcd1168df6
{
  isL1Originated: false,
  status: 'verified',
  fee: '0x48b8f6b15880',
  gasPerPubdata: '0x4e20',
  initiatorAddress: '0xbd29a1b981925b94eec5c4f1125af02a2ec4d1ca',
  receivedAt: '2023-11-27T13:15:39.876Z',
  ethCommitTxHash: '0x244b08981b29170f53232251f37f7b2622c29121cb4b2d9e1f10b545d263039e',
  ethProveTxHash: '0x97b1e5fa39fcd9cf2444ddf934364cb8cf611e58b0b5aa60d5eab3d24146d373',
  ethExecuteTxHash: '0x035b4da51f436b4a33c689a2196ab40e6173c6bfcfde52e5bc13e185d1cc5cb1'
}

@Juan-M-V Juan-M-V marked this pull request as ready for review November 27, 2023 13:50
@Juan-M-V Juan-M-V closed this Nov 27, 2023
@Juan-M-V Juan-M-V reopened this Nov 27, 2023
@Juan-M-V Juan-M-V linked an issue Nov 27, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add get-transaction command
1 participant