@particle-network/authkit
Version:
Auth Core provides MPC (Multi-Party Computation)-based threshold signatures.
14 lines (13 loc) • 643 B
TypeScript
import type { Chain } from '@particle-network/auth-core';
import { type EIP1559TxData, type EVMTransaction, type TxData } from '@particle-network/auth-core';
import type { Chain as ViemChain } from 'viem/chains';
export declare function isEIP1559Type(type: string | number | undefined): boolean;
export declare function parseTransaction(txData: TxData | EIP1559TxData, chainInfo: ViemChain): 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;