@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.17 kB
TypeScript
import { EncryptKeyResponse, KeysPair, SentFioRequestsDecryptedResponse, SentFioRequestsResponse } from '../../entities';
import { RequestConfig } from '../Transactions';
import { Query } from './Query';
export type SentFioRequestsQueryProps = {
fioPublicKey: string;
limit?: number;
offset?: number;
includeEncrypted?: boolean;
encryptKeys?: Map<string, KeysPair[]>;
getEncryptKey: (fioAddress: string) => Promise<EncryptKeyResponse>;
};
export type SentFioRequestsQueryData = {
fio_public_key: string;
limit?: number;
offset?: number;
};
export declare class SentFioRequestsQuery extends Query<SentFioRequestsQueryData, SentFioRequestsDecryptedResponse | undefined> {
props: SentFioRequestsQueryProps;
ENDPOINT: "chain/get_sent_fio_requests";
isEncrypted: boolean;
constructor(config: RequestConfig, props: SentFioRequestsQueryProps);
getData: () => {
fio_public_key: string;
limit: number | undefined;
offset: number | undefined;
};
decrypt(result: SentFioRequestsResponse): Promise<SentFioRequestsDecryptedResponse | undefined>;
}
//# sourceMappingURL=SentFioRequestsQuery.d.ts.map