@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
29 lines • 1.23 kB
TypeScript
import { EncryptKeyResponse, KeysPair, ReceivedFioRequestsDecryptedResponse, ReceivedFioRequestsResponse } from '../../entities';
import { RequestConfig } from '../Transactions';
import { Query } from './Query';
export type ReceivedFioRequestsQueryProps = {
fioPublicKey: string;
limit?: number;
offset?: number;
includeEncrypted?: boolean;
encryptKeys?: Map<string, KeysPair[]>;
getEncryptKey: (fioAddress: string) => Promise<EncryptKeyResponse>;
};
export type ReceivedFioRequestsQueryData = {
fio_public_key: string;
limit?: number;
offset?: number;
};
export declare class ReceivedFioRequestsQuery extends Query<ReceivedFioRequestsQueryData, ReceivedFioRequestsDecryptedResponse | undefined> {
props: ReceivedFioRequestsQueryProps;
ENDPOINT: "chain/get_received_fio_requests";
isEncrypted: boolean;
constructor(config: RequestConfig, props: ReceivedFioRequestsQueryProps);
getData: () => {
fio_public_key: string;
limit: number | undefined;
offset: number | undefined;
};
decrypt(result: ReceivedFioRequestsResponse): Promise<ReceivedFioRequestsDecryptedResponse | undefined>;
}
//# sourceMappingURL=ReceivedFioRequestsQuery.d.ts.map