UNPKG

@xchainjs/xchain-bsc

Version:

Binance Smart Chain EVM client for XChainJS

22 lines (21 loc) 825 B
/** * Import statements * Importing the `Client` class from the '@xchainjs/xchain-evm' module * Importing the `defaultEthParams` constant from the './const' file */ import type Transport from '@ledgerhq/hw-transport'; import { ClientLedger as EVMClientLedger, EVMClientParams } from '@xchainjs/xchain-evm'; /** * Class definition for the Binance Smart Chain EVM client. * Extends the `XchainEvmClient` class. */ export declare class ClientLedger extends EVMClientLedger { /** * Constructor for the Binance Smart Chain EVM client. * @param {Object} config - Configuration object for the client (optional). * Defaults to `defaultEthParams` if not provided. */ constructor(config: Omit<EVMClientParams, 'signer' | 'phrase'> & { transport: Transport; }); }