@renec-foundation/metaplex-js
Version:
Metaplex JavaScript API
23 lines (22 loc) • 959 B
TypeScript
/// <reference types="@renec-foundation/mpl-core/node_modules/@solana/web3.js" />
import { Keypair } from '@solana/web3.js';
import { Transaction } from '@renec-foundation/mpl-core';
interface TransactionsBatchParams {
beforeTransactions?: Transaction[];
transactions: Transaction[];
afterTransactions?: Transaction[];
}
export declare class TransactionsBatch {
beforeTransactions: Transaction[];
transactions: Transaction[];
afterTransactions: Transaction[];
signers: Keypair[];
constructor({ beforeTransactions, transactions, afterTransactions, }: TransactionsBatchParams);
addSigner(signer: Keypair): void;
addBeforeTransaction(transaction: Transaction): void;
addTransaction(transaction: Transaction): void;
addAfterTransaction(transaction: Transaction): void;
toTransactions(): Transaction[];
toInstructions(): import("@solana/web3.js").TransactionInstruction[];
}
export {};