πevm
Last updated
npm install @nest25/wallet-lib
OR
yarn add @nest25/wallet-lib// import Nest SDK
import { Wallet } from 'nest25/wallet-lib';
// Create a new instance of the Wallet class
const wallet = new Wallet();
const main = async () => {
// Get the status of a transaction
const response = await wallet.txStatus(
'eth',
'0x30f3c69723c17d87b17aefb1388ebb5c2498829edc8574a5d7ea052157dc3029'
);
// Print the response
console.log(response);
};
main(); { code: 1, result: 'confirmed' }