import _m0 from "protobufjs/minimal"; import { AccountID, Key, KeyList, ScheduleID, TransactionID } from "./basic_types"; import { QueryHeader } from "./query_header"; import { ResponseHeader } from "./response_header"; import { SchedulableTransactionBody } from "./schedulable_transaction_body"; import { Timestamp } from "./timestamp"; export declare const protobufPackage = "proto"; /** * Gets information about a schedule in the network's action queue. * * Responds with INVALID_SCHEDULE_ID if the requested schedule doesn't exist. */ export interface ScheduleGetInfoQuery { /** * standard info sent from client to node including the signed payment, and what kind of response * is requested (cost, state proof, both, or neither). */ header: QueryHeader | undefined; /** The id of the schedule to interrogate */ scheduleID: ScheduleID | undefined; } /** Information summarizing schedule state */ export interface ScheduleInfo { /** The id of the schedule */ scheduleID: ScheduleID | undefined; data?: { $case: "deletionTime"; deletionTime: Timestamp; } | { $case: "executionTime"; executionTime: Timestamp; } | undefined; /** * The time at which the schedule will be evaluated for execution and then expire. * * Note: Before Long Term Scheduled Transactions are enabled, Scheduled Transactions will _never_ execute at expiration - they * will _only_ execute during the initial ScheduleCreate transaction or via ScheduleSign transactions and will _always_ * expire at expirationTime. */ expirationTime: Timestamp | undefined; /** The scheduled transaction */ scheduledTransactionBody: SchedulableTransactionBody | undefined; /** The publicly visible memo of the schedule */ memo: string; /** The key used to delete the schedule from state */ adminKey: Key | undefined; /** The Ed25519 keys the network deems to have signed the scheduled transaction */ signers: KeyList | undefined; /** The id of the account that created the schedule */ creatorAccountID: AccountID | undefined; /** The id of the account responsible for the service fee of the scheduled transaction */ payerAccountID: AccountID | undefined; /** * The transaction id that will be used in the record of the scheduled transaction (if it * executes) */ scheduledTransactionID: TransactionID | undefined; /** The ledger ID the response was returned from; please see HIP-198 for the network-specific IDs. */ ledgerId: Uint8Array; /** * When set to true, the transaction will be evaluated for execution at expiration_time instead * of when all required signatures are received. * When set to false, the transaction will execute immediately after sufficient signatures are received * to sign the contained transaction. During the initial ScheduleCreate transaction or via ScheduleSign transactions. * * Note: this field is unused until Long Term Scheduled Transactions are enabled. */ waitForExpiry: boolean; } /** Response wrapper for the ScheduleInfo */ export interface ScheduleGetInfoResponse { /** * Standard response from node to client, including the requested fields: cost, or state proof, or * both, or neither */ header: ResponseHeader | undefined; /** The information requested about this schedule instance */ scheduleInfo: ScheduleInfo | undefined; } export declare const ScheduleGetInfoQuery: { encode(message: ScheduleGetInfoQuery, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScheduleGetInfoQuery; fromJSON(object: any): ScheduleGetInfoQuery; toJSON(message: ScheduleGetInfoQuery): unknown; create(base?: DeepPartial): ScheduleGetInfoQuery; fromPartial(object: DeepPartial): ScheduleGetInfoQuery; }; export declare const ScheduleInfo: { encode(message: ScheduleInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScheduleInfo; fromJSON(object: any): ScheduleInfo; toJSON(message: ScheduleInfo): unknown; create(base?: DeepPartial): ScheduleInfo; fromPartial(object: DeepPartial): ScheduleInfo; }; export declare const ScheduleGetInfoResponse: { encode(message: ScheduleGetInfoResponse, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ScheduleGetInfoResponse; fromJSON(object: any): ScheduleGetInfoResponse; toJSON(message: ScheduleGetInfoResponse): unknown; create(base?: DeepPartial): ScheduleGetInfoResponse; fromPartial(object: DeepPartial): ScheduleGetInfoResponse; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends { $case: string; } ? { [K in keyof Omit]?: DeepPartial; } & { $case: T["$case"]; } : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {}; //# sourceMappingURL=schedule_get_info.d.ts.map