onesec-bridge
Version:
A library for interacting with the onesec.to bridge
8 lines (7 loc) • 466 B
TypeScript
import type * as candid from "./generated/candid/onesec/onesec.did";
import type { EvmChain, EvmTx, IcrcAccount, Token } from "./types";
export declare function token(token: Token): candid.Token;
export declare function chain(chain: EvmChain): candid.EvmChain;
export declare function icpAccount(account: IcrcAccount): candid.IcpAccount;
export declare function evmAccount(address: string): candid.EvmAccount;
export declare function evmTx(tx: EvmTx): candid.EvmTx;