UNPKG

@ledgerhq/coin-tezos

Version:
8 lines 788 B
import type { TezosCoinConfig, TezosContext } from '../config'; import type { APIAccount, APIManagerAccount, APIUnstakeRequest } from '../network/types'; import type { Cursor, Page, Stake } from '@ledgerhq/coin-module-framework/api/types'; export { isDelegationPosition, isFinalizablePosition, isStakePosition, isUnstakingPosition, } from './positionUid'; export declare function fetchUnstakeRequests(config: TezosCoinConfig, address: string, account: APIAccount): Promise<APIUnstakeRequest[]>; export declare function buildStakesForAccount(address: string, account: APIManagerAccount, unstakeRequests: APIUnstakeRequest[]): Stake[]; export declare function getStakes(context: TezosContext, address: string, _cursor?: Cursor): Promise<Page<Stake>>; //# sourceMappingURL=getStakes.d.ts.map