@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.21 kB
TypeScript
import { CancelledFioRequestsDecryptedResponse, CancelledFioRequestResponse, GetEncryptKeyResponse, KeysPair } from '../../entities';
import { RequestConfig } from '../Transactions';
import { Query } from './Query';
export type CancelledFioRequestsQueryProps = {
fioPublicKey: string;
limit?: number;
offset?: number;
encryptKeys?: Map<string, KeysPair[]>;
getEncryptKey: (fioAddress: string) => Promise<GetEncryptKeyResponse>;
};
export type CancelledFioRequestsQueryData = {
fio_public_key: string;
limit?: number;
offset?: number;
};
export declare class CancelledFioRequestsQuery extends Query<CancelledFioRequestsQueryData, CancelledFioRequestsDecryptedResponse | undefined> {
props: CancelledFioRequestsQueryProps;
ENDPOINT: "chain/get_cancelled_fio_requests";
isEncrypted: boolean;
constructor(config: RequestConfig, props: CancelledFioRequestsQueryProps);
getData: () => {
fio_public_key: string;
limit: number | undefined;
offset: number | undefined;
};
decrypt(result: CancelledFioRequestResponse): Promise<CancelledFioRequestsDecryptedResponse | undefined>;
}
//# sourceMappingURL=CancelledFioRequestsQuery.d.ts.map