@metaplex-foundation/umi-web3js-adapters
Version:
A helper package to transform web3.js types to and from umi types
5 lines (4 loc) • 350 B
TypeScript
import { Instruction } from '@metaplex-foundation/umi';
import { TransactionInstruction as Web3JsTransactionInstruction } from '@solana/web3.js';
export declare function fromWeb3JsInstruction(instruction: Web3JsTransactionInstruction): Instruction;
export declare function toWeb3JsInstruction(instruction: Instruction): Web3JsTransactionInstruction;