UNPKG

@ledgerhq/coin-mina

Version:
8 lines 1.01 kB
import { FetchAccountBalanceResponse, FetchNetworkStatusResponse, RosettaBlockInfoResponse, RosettaMetadataResponse, RosettaSubmitResponse, RosettaTransaction } from "./types"; export declare const fetchNetworkStatus: () => Promise<FetchNetworkStatusResponse>; export declare const fetchAccountBalance: (address: string) => Promise<FetchAccountBalanceResponse>; export declare const fetchAccountTransactions: (address: string, offset?: number) => Promise<RosettaTransaction[]>; export declare const rosettaGetBlockInfo: (blockHeight: number) => Promise<RosettaBlockInfoResponse>; export declare const fetchTransactionMetadata: (srcAddress: string, destAddress: string, feeNano: number, valueNano: number) => Promise<import("@ledgerhq/live-network/lib-es/network").LiveNetworkResponse<RosettaMetadataResponse>>; export declare const rosettaSubmitTransaction: (blob: string) => Promise<import("@ledgerhq/live-network/lib-es/network").LiveNetworkResponse<RosettaSubmitResponse>>; //# sourceMappingURL=index.d.ts.map