@magiceden/magiceden-sdk
Version:
A TypeScript SDK for interacting with Magic Eden's API across multiple chains.
18 lines (17 loc) • 838 B
TypeScript
import { WalletProvider, WalletTxReceipt } from '../provider';
import { Connection, RpcResponseAndContext, SignatureStatus, SignatureStatusConfig, VersionedTransaction } from '@solana/web3.js';
export declare abstract class SolanaWalletProvider extends WalletProvider<VersionedTransaction, VersionedTransaction, string, WalletTxReceipt> {
/**
* Get the connection to the Solana network.
*
* @returns The connection to the Solana network.
*/
abstract getConnection(): Connection;
/**
* Get the signature status of a transaction.
*
* @param signature The signature of the transaction.
* @returns The signature status of the transaction.
*/
abstract getSignatureStatus(signature: string, options?: SignatureStatusConfig): Promise<RpcResponseAndContext<SignatureStatus | null>>;
}