/** * nano-rpc-api * API specification for the [Nano Node RPC API](https://docs.nano.org/commands/rpc-protocol) * * OpenAPI spec version: 19.0.0-alpha * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ModelBoolean } from './ModelBoolean'; import { HttpFile } from '../http/http'; export class PendingRequest { 'action': PendingRequestActionEnum; 'account': string; 'count'?: number; /** * _version 19.0+_ Boolean, false by default. Additionally sorts the blocks by their amounts in descending order. */ 'sorting'?: ModelBoolean; /** * _version 19.0+_ Boolean, false by default. Only returns block which have their confirmation height set or are undergoing confirmation height processing. */ 'include_only_confirmed'?: ModelBoolean; /** * _version 19.0+_ Boolean, false by default. Returns a list of pending block hashes with amount and source accounts */ 'source'?: ModelBoolean; /** * _version 8.0+_ Number (128 bit, decimal). Returns a list of pending block hashes with amount more or equal to threshold */ 'threshold'?: string; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "action", "baseName": "action", "type": "PendingRequestActionEnum", "format": "" }, { "name": "account", "baseName": "account", "type": "string", "format": "" }, { "name": "count", "baseName": "count", "type": "number", "format": "" }, { "name": "sorting", "baseName": "sorting", "type": "ModelBoolean", "format": "" }, { "name": "include_only_confirmed", "baseName": "include_only_confirmed", "type": "ModelBoolean", "format": "" }, { "name": "source", "baseName": "source", "type": "ModelBoolean", "format": "" }, { "name": "threshold", "baseName": "threshold", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return PendingRequest.attributeTypeMap; } public constructor() { } } export type PendingRequestActionEnum = "pending" ;