@ledgerhq/coin-internet_computer
Version:
Ledger Internet Computer integration
7 lines • 535 B
TypeScript
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