UNPKG

@ledgerhq/coin-canton

Version:
13 lines 405 B
import { isGatewayEnabled } from "../../network/gateway"; import { getLedgerEnd } from "../../network/gateway"; export async function lastBlock(currency) { if (!isGatewayEnabled(currency)) throw new Error("Not implemented"); const height = await getLedgerEnd(currency); return { height, hash: "", time: new Date(), }; } //# sourceMappingURL=lastBlock.js.map