UNPKG

@ledgerhq/coin-internet_computer

Version:
7 lines 535 B
import { TransactionWithId } from "@zondax/ledger-live-icp"; import BigNumber from "bignumber.js"; export declare const fetchBlockHeight: () => Promise<BigNumber>; export declare const broadcastTxn: (payload: Buffer, canisterId: string, type: "call" | "read_state") => Promise<ArrayBuffer>; export declare const fetchBalance: (address: string) => Promise<BigNumber>; export declare const fetchTxns: (address: string, startBlockHeight: bigint, stopBlockHeight?: bigint) => Promise<TransactionWithId[]>; //# sourceMappingURL=api.d.ts.map