import type { Address } from 'abitype'; import type { OpStackDepositTransaction, OpStackRpcTransaction, TransactionSerializableDeposit, TransactionSerializedDeposit } from '../op-stack/types/transaction.js'; import type { Block, BlockTag } from '../types/block.js'; import type { FeeValuesEIP1559 } from '../types/fee.js'; import type { Hex } from '../types/misc.js'; import type { RpcTransaction as core_RpcTransaction, RpcTransactionRequest as core_RpcTransactionRequest, Index, Quantity, RpcBlock, TransactionType } from '../types/rpc.js'; import type { AccessList, Transaction as core_Transaction, TransactionRequest as core_TransactionRequest, TransactionBase, TransactionRequestBase, TransactionSerializable, TransactionSerializableBase, TransactionSerialized } from '../types/transaction.js'; import type { ExactPartial, OneOf } from '../types/utils.js'; export type CeloBlock = Block>; export type CeloRpcBlock = RpcBlock>; export type CeloRpcTransaction = OneOf | RpcTransactionCIP42 | RpcTransactionCIP64 | OpStackRpcTransaction>; export type CeloRpcTransactionRequest = OneOf; export type CeloTransaction = OneOf | TransactionCIP42 | TransactionCIP64 | OpStackDepositTransaction>; export type CeloTransactionRequest = OneOf; export type CeloTransactionSerializable = OneOf; export type CeloTransactionSerialized = TransactionSerialized | TransactionSerializedCIP42 | TransactionSerializedCIP64 | TransactionSerializedDeposit; export type CeloTransactionType = TransactionType | 'cip42' | 'cip64'; type RpcTransaction = core_RpcTransaction & { feeCurrency: Address | null; gatewayFee: Hex | null; gatewayFeeRecipient: Address | null; }; type RpcTransactionRequest = core_RpcTransactionRequest & { feeCurrency?: Address | undefined; }; export type RpcTransactionCIP42 = Omit, 'typeHex'> & { accessList: AccessList; chainId: Index; feeCurrency: Address | null; gatewayFee: Hex | null; gatewayFeeRecipient: Address | null; type: '0x7c'; } & FeeValuesEIP1559; export type RpcTransactionCIP64 = Omit, 'typeHex'> & { accessList: AccessList; chainId: Index; feeCurrency: Address | null; type: '0x7b'; } & FeeValuesEIP1559; export type RpcTransactionRequestCIP64 = TransactionRequestBase & { accessList?: AccessList | undefined; feeCurrency?: Address | undefined; type?: '0x7b' | undefined; } & ExactPartial>; type Transaction = core_Transaction & { feeCurrency: Address | null; }; export type TransactionCIP42 = TransactionBase & FeeValuesEIP1559 & { accessList: AccessList; chainId: number; feeCurrency: Address | null; gatewayFee: bigint | null; gatewayFeeRecipient: Address | null; type: 'cip42'; }; export type TransactionCIP64 = TransactionBase & FeeValuesEIP1559 & { accessList: AccessList; chainId: number; feeCurrency: Address | null; type: 'cip64'; }; type TransactionRequest = core_TransactionRequest & { feeCurrency?: Address | undefined; }; export type TransactionRequestCIP64 = TransactionRequestBase & { accessList?: AccessList | undefined; feeCurrency?: Address | undefined; type?: 'cip64' | undefined; } & ExactPartial; export type TransactionSerializableCIP42 = TransactionSerializableBase & { accessList?: AccessList | undefined; feeCurrency?: Address | undefined; gatewayFeeRecipient?: Address | undefined; gatewayFee?: quantity | undefined; chainId: number; type?: 'cip42' | undefined; } & ExactPartial>; export type TransactionSerializableCIP64 = TransactionSerializableBase & { accessList?: AccessList | undefined; feeCurrency?: Address | undefined; chainId: number; type?: 'cip64' | undefined; } & ExactPartial>; export type TransactionSerializedCIP42 = `0x7c${string}`; export type TransactionSerializedCIP64 = `0x7b${string}`; export {}; //# sourceMappingURL=types.d.ts.map