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

Support decode raw tx #22

Open
zjb0807 opened this issue Apr 15, 2022 · 1 comment
Open

Support decode raw tx #22

zjb0807 opened this issue Apr 15, 2022 · 1 comment

Comments

@zjb0807
Copy link
Member

zjb0807 commented Apr 15, 2022

  1. eth tx
import { AcalaEvmTX, parseTransaction, serializeTransaction, signTransaction } from '@acala-network/eth-transactions';
const rawTx = "0xf86e80852e90f2000a825208940085560b24769dac4ed057f1b2ae40746aa9aab6880de0b6b3a764000080820a96a08528f0c8efeb3fdd0b2b26b5c9e6d893b4e77d68ac1fd0d14f4020d56d794abda0258291cebc01f766ef19513cc6dc6b54794e5f60875f1249cf020084479cfa84"
const ethTx = parseTransaction(rawTx);
console.log(ethTx)
  1. substrate tx
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

No branches or pull requests

2 participants
@zjb0807 and others