UNPKG

@debridge-finance/desdk

Version:

Send, track and claim arbitrary cross-chain messages over the deBridge protocol programmatically

30 lines 716 B
import { BigNumberish, BytesLike } from "ethers"; import { SendAutoParams } from "./structs"; type SendArgs = [ string, string, string, string, string, boolean, string, string ]; type TMessage = { readonly tokenAddress: string; readonly amount: BigNumberish; readonly chainIdTo: BigNumberish; readonly receiver: BytesLike; readonly permit?: BytesLike; readonly useAssetFee?: boolean; readonly referralCode?: BigNumberish; readonly autoParams?: SendAutoParams; }; export interface Message extends TMessage { } export declare class Message { constructor(args: TMessage); getEncodedArgs(): SendArgs; } export {}; //# sourceMappingURL=send.d.ts.map