@web3-onboard/core
Version:
Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, mul
11 lines (10 loc) • 534 B
TypeScript
import type { EthereumTransactionData, Network } from 'bnc-sdk';
import type { WalletState } from './types.js';
export declare const actionableEventCode: (eventCode: string) => boolean;
export declare const validGasNetwork: (network: Network) => boolean;
export declare const walletSupportsReplacement: (wallet: WalletState) => boolean;
export declare function replaceTransaction({ type, wallet, transaction }: {
type: 'speedup' | 'cancel';
wallet: WalletState;
transaction: EthereumTransactionData;
}): Promise<unknown>;