UNPKG

@ledgerhq/coin-internet_computer

Version:
8 lines 675 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<Uint8Array<ArrayBuffer>>; export declare const ensureTransferCallAccepted: (syncCallResponse: Uint8Array, transferRequestIdHex: string) => Promise<void>; 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