UNPKG

@accret/bridge-sdk

Version:
16 lines 788 B
import { AccretSupportedChain } from "../types"; import type { ChainName } from "@mayanfinance/swap-sdk"; import { deBridgeChainId } from "../types/deBridge"; export declare function initializeAcrossClient(): import("@across-protocol/app-sdk").AcrossClient; export declare const AccretReferrerAddresses: { solana: string; evm: string; }; export declare function getAccrossSupportedChainId(chain: AccretSupportedChain): number; export declare function fromReadableAmount(amount: number | string | bigint, decimals: number): bigint; export declare function toReadableAmount(rawAmount: bigint, decimals: number): string; export declare function getChainInfo(chainId: AccretSupportedChain): { mayan: ChainName; deBridge: deBridgeChainId; }; //# sourceMappingURL=index.d.ts.map