import _m0 from "protobufjs/minimal"; import { FileID } from "./basic_types"; export declare const protobufPackage = "proto"; export interface EthereumTransactionBody { /** * The raw Ethereum transaction (RLP encoded type 0, 1, and 2). Complete * unless the callData field is set. */ ethereumData: Uint8Array; /** * For large transactions (for example contract create) this is the callData * of the ethereumData. The data in the ethereumData will be re-written with * the callData element as a zero length string with the original contents in * the referenced file at time of execution. The ethereumData will need to be * "rehydrated" with the callData for signature validation to pass. */ callData: FileID | undefined; /** * The maximum amount, in tinybars, that the payer of the hedera transaction * is willing to pay to complete the transaction. * * Ordinarily the account with the ECDSA alias corresponding to the public * key that is extracted from the ethereum_data signature is responsible for * fees that result from the execution of the transaction. If that amount of * authorized fees is not sufficient then the payer of the transaction can be * charged, up to but not exceeding this amount. If the ethereum_data * transaction authorized an amount that was insufficient then the payer will * only be charged the amount needed to make up the difference. If the gas * price in the transaction was set to zero then the payer will be assessed * the entire fee. */ maxGasAllowance: number; } export declare const EthereumTransactionBody: { encode(message: EthereumTransactionBody, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EthereumTransactionBody; fromJSON(object: any): EthereumTransactionBody; toJSON(message: EthereumTransactionBody): unknown; create(base?: DeepPartial): EthereumTransactionBody; fromPartial(object: DeepPartial): EthereumTransactionBody; }; 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=ethereum_transaction.d.ts.map