UNPKG

@ledgerhq/coin-mina

Version:
13 lines 837 B
import BigNumber from "bignumber.js"; import { MinaAPIAccount, MinaSignedTransaction, Transaction } from "../types/common"; import { RosettaBlockInfoResponse, RosettaTransaction } from "./rosetta/types"; export declare const getAccount: (address: string) => Promise<MinaAPIAccount>; export declare const getBlockInfo: (blockHeight: number) => Promise<RosettaBlockInfoResponse>; export declare const getTransactions: (address: string, offset?: number) => Promise<RosettaTransaction[]>; export declare const broadcastTransaction: (txn: MinaSignedTransaction) => Promise<string>; export declare const getFees: (txn: Transaction, address: string) => Promise<{ fee: BigNumber; accountCreationFee: BigNumber; }>; export declare const getNonce: (txn: Transaction, address: string) => Promise<number>; //# sourceMappingURL=index.d.ts.map