Sha256: d3e70d3ef125e39e88c01efce27cf836460a177dff17290e1790ff92a7f270ab

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 Bytes

Contents

import { TLong } from '../../interface';
/**
 * GET /leasing/active/{address}
 * Get all active leases for an address
 */
export declare function fetchActive(base: string, address: string, options?: RequestInit): Promise<Array<ILeaseInfo>>;
/**
 * GET /leasing/info/
 * Get lease transactions info.
 */
export declare function fetchLeasingInfo(base: string, ids: string[], options?: RequestInit): Promise<Array<ILeaseInfo>>;
export interface ILeaseInfo {
    id: string;
    originTransactionId: string;
    sender: string;
    recipient: string;
    amount: TLong;
    height: number;
    status: string;
    cancelHeight: number | null;
    cancelTransactionId: string | null;
}

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@waves/node-api-js/cjs/api-node/leasing/index.d.ts
waves_lib-0.1.0 js/node_modules/@waves/node-api-js/es/api-node/leasing/index.d.ts