Socket
Book a DemoInstallSign in
Socket

@limechain/tx-inclusion-sdk

Package Overview
Dependencies
Maintainers
10
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@limechain/tx-inclusion-sdk

The SDK package is designed to help the interaction with the Transaction Inclusion Contracts (https://github.com/LimeChain/tx-inclusion-contracts) in order to gather all the needed data for a transaction and pass it to the contracts for verification.

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
10
Created
Source

MIT License

Transaction Inclusion SDK

The SDK package is designed to help the interaction with the Transaction Inclusion Contracts in order to gather all the needed data for a transaction and pass it to the contracts for verification. It is part of the ongoing effort of LimeLabs and LimeChain to give back and contribute to the blockchain community in the form of open source tooling and public goods infrastructure.

Usage Example

import { TxInclusionSDK } from "@limechain/tx-inclusion-sdk";

const txInclusionSdk = new TxInclusionSDK(rpcUrl);
const txInclusionProof = await txInclusionSdk.getTransactionInclusionProof(txHash);

console.log(txInclusionProof);

Where rpcUrl should be RPC provider URL, for example Infura.

FAQs

Package last updated on 10 Jul 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts