import _m0 from "protobufjs/minimal"; import { AccountAmount, ScheduleID, TokenAssociation, TokenTransferList, TransactionID, TransferList } from "./basic_types"; import { ContractFunctionResult } from "./contract_call_local"; import { AssessedCustomFee } from "./custom_fees"; import { Timestamp } from "./timestamp"; import { TransactionReceipt } from "./transaction_receipt"; export declare const protobufPackage = "proto"; /** Response when the client sends the node TransactionGetRecordResponse */ export interface TransactionRecord { /** * The status (reach consensus, or failed, or is unknown) and the ID of any new * account/file/instance created. */ receipt: TransactionReceipt | undefined; /** * The hash of the Transaction that executed (not the hash of any Transaction that failed for * having a duplicate TransactionID) */ transactionHash: Uint8Array; /** The consensus timestamp (or null if didn't reach consensus yet) */ consensusTimestamp: Timestamp | undefined; /** The ID of the transaction this record represents */ transactionID: TransactionID | undefined; /** The memo that was submitted as part of the transaction (max 100 bytes) */ memo: string; /** * The actual transaction fee charged, not the original transactionFee value from * TransactionBody */ transactionFee: number; body?: { $case: "contractCallResult"; contractCallResult: ContractFunctionResult; } | { $case: "contractCreateResult"; contractCreateResult: ContractFunctionResult; } | undefined; /** * All hbar transfers as a result of this transaction, such as fees, or transfers performed by * the transaction, or by a smart contract it calls, or by the creation of threshold records * that it triggers. */ transferList: TransferList | undefined; /** All Token transfers as a result of this transaction */ tokenTransferLists: TokenTransferList[]; /** Reference to the scheduled transaction ID that this transaction record represent */ scheduleRef: ScheduleID | undefined; /** * All custom fees that were assessed during a CryptoTransfer, and must be paid if the * transaction status resolved to SUCCESS */ assessedCustomFees: AssessedCustomFee[]; /** All token associations implicitly created while handling this transaction */ automaticTokenAssociations: TokenAssociation[]; /** * In the record of an internal transaction, the consensus timestamp of the user * transaction that spawned it. */ parentConsensusTimestamp: Timestamp | undefined; /** * In the record of a CryptoCreate transaction triggered by a user transaction with a * (previously unused) alias, the new account's alias. */ alias: Uint8Array; /** * The keccak256 hash of the ethereumData. This field will only be populated for * EthereumTransaction. */ ethereumHash: Uint8Array; /** List of accounts with the corresponding staking rewards paid as a result of a transaction. */ paidStakingRewards: AccountAmount[]; entropy?: { $case: "prngBytes"; prngBytes: Uint8Array; } | { $case: "prngNumber"; prngNumber: number; } | undefined; /** * The new default EVM address of the account created by this transaction. * This field is populated only when the EVM address is not specified in the related transaction body. */ evmAddress: Uint8Array; } export declare const TransactionRecord: { encode(message: TransactionRecord, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): TransactionRecord; fromJSON(object: any): TransactionRecord; toJSON(message: TransactionRecord): unknown; create(base?: DeepPartial): TransactionRecord; fromPartial(object: DeepPartial): TransactionRecord; }; 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=transaction_record.d.ts.map