UNPKG

@chorus-one/ton

Version:

All-in-one tooling for building staking dApps on TON

13 lines (12 loc) 598 B
import type { Signer } from '@chorus-one/signer'; import type { TonSigningData } from './types'; import { TonClient, Address, StateInit, MessageRelaxed, Cell } from '@ton/ton'; export declare function createWalletTransferV4(args: { seqno: number; sendMode: number; walletId: number; messages: MessageRelaxed[]; timeout?: number; }): Cell; export declare function sign(signerAddress: string, signer: Signer, signingData: TonSigningData): Promise<Cell>; export declare function externalMessage(client: TonClient, address: Address, message: Cell, init?: StateInit): Promise<Cell>;