UNPKG

@pokt-network/pocket-js

Version:

Pocket-js core package with the main functionalities to interact with the Pocket Network.

31 lines (30 loc) 1 kB
import { TxMsg } from "./tx-msg"; /** * Model representing a MsgSend to send POKT from one account to another */ export declare class MsgSend extends TxMsg { readonly fromAddress: string; readonly toAddress: string; readonly amount: string; readonly AMINO_KEY: string; /** * Constructor this message * @param {string} fromAddress - Origin address * @param {string} toAddress - Destination address * @param {string} amount - Amount to be sent, needs to be a valid number greater than 0 * @param {CoinDenom | undefined} amountDenom - Amount value denomination */ constructor(fromAddress: string, toAddress: string, amount: string); /** * Converts an Msg Object to StdSignDoc * @returns {any} - Msg type key value. * @memberof MsgSend */ toStdSignDocMsgObj(): any; /** * Converts an Msg Object to StdSignDoc * @returns {any} - Msg type key value. * @memberof MsgSend */ toStdTxMsgObj(): any; }