UNPKG

@particle-network/auth-core-modal

Version:

Auth Core provides MPC (Multi-Party Computation)-based threshold signatures.

13 lines (12 loc) 596 B
import { type EIP1559TxData, type EVMTransaction, type TxData } from '@particle-network/auth-core'; import type { Chain, ChainInfo } from '@particle-network/chains'; export declare function isEIP1559Type(type: string | number | undefined): boolean; export declare function parseTransaction(txData: TxData | EIP1559TxData, chainInfo: ChainInfo): EVMTransaction; export declare function isEMVMethod(method: string): boolean; /** * isEVMAddress * @param address * @returns */ export declare function isEVMAddress(address: string): boolean; export declare function isTron(chain: Chain): boolean;