@fioprotocol/fiosdk
Version:
The Foundation for Interwallet Operability (FIO) is a consortium of leading blockchain wallets, exchanges and payments providers that seeks to accelerate blockchain adoption by reducing the risk, complexity, and inconvenience of sending and receiving cryp
28 lines • 1.18 kB
TypeScript
import { EncryptKeyResponse, KeysPair, PendingFioRequestsDecryptedResponse, PendingFioRequestsResponse } from '../../entities';
import { RequestConfig } from '../Transactions';
import { Query } from './Query';
export type PendingFioRequestsQueryProps = {
fioPublicKey: string;
limit?: number;
offset?: number;
encryptKeys?: Map<string, KeysPair[]>;
getEncryptKey: (fioAddress: string) => Promise<EncryptKeyResponse>;
};
export type PendingFioRequestsQueryData = {
fio_public_key: string;
limit?: number;
offset?: number;
};
export declare class PendingFioRequestsQuery extends Query<PendingFioRequestsQueryData, PendingFioRequestsDecryptedResponse | undefined> {
props: PendingFioRequestsQueryProps;
ENDPOINT: "chain/get_pending_fio_requests";
isEncrypted: boolean;
constructor(config: RequestConfig, props: PendingFioRequestsQueryProps);
getData: () => {
fio_public_key: string;
limit: number | undefined;
offset: number | undefined;
};
decrypt(result: PendingFioRequestsResponse): Promise<PendingFioRequestsDecryptedResponse | undefined>;
}
//# sourceMappingURL=PendingFioRequestsQuery.d.ts.map