UNPKG

@fruitsjs/core

Version:

Principal package with functions and models for building Fruits Eco-Blockchain applications.

8 lines (7 loc) 363 B
import { TransactionId } from '../transactionId'; import { SendMessageArgs } from '../args'; import { SendEncryptedMessageArgs } from '../args/sendEncryptedMessageArgs'; export interface MessageApi { sendMessage: (args: SendMessageArgs) => Promise<TransactionId>; sendEncryptedMessage: (args: SendEncryptedMessageArgs) => Promise<TransactionId>; }