0.2.2 • Published 3 years ago

tx-revert-reason v0.2.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Welcome to tx-revert-reason 👋

Version License: MIT

Decode revert reason from failed transaction

🏠 Homepage

API documentation

Install

yarn add tx-revert-reason

Usage

CLI

cp .env.example .env # Fill the provider url
npx tx-revert-reason --help

Typescript

import { getReasonByWeb3Js, getReasonByEthersJs } from 'tx-revert-reason';

const reasonByWeb3 = await getReasonByWeb3Js(txHash, providerUrl);
const reasonByEthers = await getReasonByEthersJs(txHash, providerUrl);

Develop

cp .env.example .env # Fill the provider url
yarn start TX_HASH # Check revert reason from tx hash
yarn start --help # Show help

Stargazers

Stargazers repo roster for @jellydn/tx-revert-reason

Show your support

Give a ⭐️ if this project helped you!

ko-fi

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

0.2.3-0

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago