@ledgerhq/coin-algorand
Version:
Ledger Algorand Coin integration
24 lines (18 loc) • 582 B
text/typescript
import { StringMemo } from "@ledgerhq/coin-module-framework/api/types";
// Algorand memo type for CoinModuleApi
export type AlgorandMemo = StringMemo<"note">;
// Operation mode for Algorand transactions
export type AlgorandOperationMode = "send" | "optIn" | "claimReward";
// List operations options
export type Order = "asc" | "desc";
export type ListOperationsOptions = {
limit?: number;
minHeight?: number;
cursor?: string;
order?: Order;
};
// Algorand resources (staking rewards, assets)
export type AlgorandResources = {
rewards: bigint;
nbAssets: number;
};