UNPKG

@bandprotocol/bandchain.js

Version:

TypeScript library for Cosmos SDK and BandChain

16 lines (15 loc) 726 B
import { Rpc } from "../../../helpers"; import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; /** Msg defines the bank Msg service. */ export interface Msg { /** Send defines a method for sending coins from one account to another account. */ send(request: MsgSend): Promise<MsgSendResponse>; /** MultiSend defines a method for sending coins from some accounts to other accounts. */ multiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); send(request: MsgSend): Promise<MsgSendResponse>; multiSend(request: MsgMultiSend): Promise<MsgMultiSendResponse>; }