mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
19 lines
642 B
TypeScript
19 lines
642 B
TypeScript
import {
|
|
Amount,
|
|
Fee,
|
|
FullSignature,
|
|
PubkeyBundle,
|
|
SignedTransaction,
|
|
UnsignedTransaction
|
|
} from "@iov/bcp";
|
|
import amino from "@tendermint/amino-js";
|
|
import { AminoTx } from "./types";
|
|
export declare function encodePubkey(pubkey: PubkeyBundle): amino.PubKey;
|
|
export declare function encodeAmount(amount: Amount): amino.Coin;
|
|
export declare function encodeFee(fee: Fee): amino.StdFee;
|
|
export declare function encodeFullSignature(
|
|
fullSignature: FullSignature
|
|
): amino.StdSignature;
|
|
export declare function buildUnsignedTx(tx: UnsignedTransaction): AminoTx;
|
|
export declare function buildSignedTx(tx: SignedTransaction): AminoTx;
|