/**
 * Fireblocks API
 * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain.  - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
 *
 * The version of the OpenAPI document: 1.6.2
 * Contact: developers@fireblocks.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { DecodedLog } from './decoded-log';
/**
 *
 * @export
 * @interface OnchainTransaction
 */
export interface OnchainTransaction {
    /**
     * Unique identifier for the transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'id': string;
    /**
     * The blockchain base asset identifier
     * @type {string}
     * @memberof OnchainTransaction
     */
    'baseAssetId': string;
    /**
     * Hash of the block containing this transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'blockHash': string;
    /**
     * Block number containing this transaction
     * @type {number}
     * @memberof OnchainTransaction
     */
    'blockNumber': number;
    /**
     * Timestamp when the block was mined
     * @type {string}
     * @memberof OnchainTransaction
     */
    'blockTimestamp': string;
    /**
     * Chain ID of the blockchain
     * @type {number}
     * @memberof OnchainTransaction
     */
    'chainId': number;
    /**
     * Cumulative gas used in the block up to this transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'cumulativeGasUsed': string;
    /**
     * Effective gas price paid for the transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'effectiveGasPrice': string;
    /**
     * Address that initiated the transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'fromAddress': string;
    /**
     * Amount of gas used by this transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'gasUsed': string;
    /**
     * Transaction status
     * @type {string}
     * @memberof OnchainTransaction
     */
    'status': string;
    /**
     * Hash of the transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'transactionHash': string;
    /**
     * Index of the transaction in the block
     * @type {string}
     * @memberof OnchainTransaction
     */
    'transactionIndex': string;
    /**
     * Transaction type
     * @type {string}
     * @memberof OnchainTransaction
     */
    'type': string;
    /**
     * Contract address if this is a contract transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'contractAddress'?: string | null;
    /**
     *
     * @type {DecodedLog}
     * @memberof OnchainTransaction
     */
    'decodedLogs'?: DecodedLog;
    /**
     * Address that received the transaction
     * @type {string}
     * @memberof OnchainTransaction
     */
    'toAddress'?: string | null;
}
