UNPKG

@pokt-network/pocket-js

Version:

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

15 lines (14 loc) 626 B
/// <reference types="node" /> import { TxSignature } from '../models/tx-signature'; import { BaseTxEncoder } from './base-tx-encoder'; import { Any } from '../models/proto'; export declare class ProtoTxEncoder extends BaseTxEncoder { getFeeObj(): { amount: string; denom: string; }[]; marshalStdSignDoc(): Buffer; static marshalStdSignDoc(chainID: string, entropy: string, fee: string, msg: any, memo?: string, feeDenom?: "Upokt" | "Pokt"): Buffer; marshalStdTx(signature: TxSignature): Buffer; static marshalStdTx(stdTxMsgObj: Any, stdSignDoc: any, signature: TxSignature): Buffer; }