Interface IOperationData

Represents the information for an operation.

Remarks

This interface is used to track the details of an operation, including its ID, associated block IDs, presence in the transaction pool, finality status, thread, operation content, and execution status.

See

  • id - A string representing the ID of the operation.
  • in_blocks - An array of strings representing the associated block IDs.
  • in_pool - A boolean indicating whether the operation is in the transaction pool or not.
  • is_operation_final - A boolean indicating whether the operation is final or not.
  • thread - A number indicating the thread in which the operation is located.
  • operation - An object containing the content and signature of the operation.
  • op_exec_status - A boolean or null representing the execution status of the operation.
interface IOperationData {
    id: string;
    in_blocks: string[];
    in_pool: boolean;
    is_operation_final: boolean;
    op_exec_status: boolean;
    operation: {
        content: {
            expire_period: number;
            fee: string;
            op: OpType;
            sender_public_key: string;
        };
        content_creator_address: string;
        content_creator_pub_key: string;
        id: string;
        signature: string;
    };
    thread: number;
}

Properties

id: string
in_blocks: string[]
in_pool: boolean
is_operation_final: boolean
op_exec_status: boolean
operation: {
    content: {
        expire_period: number;
        fee: string;
        op: OpType;
        sender_public_key: string;
    };
    content_creator_address: string;
    content_creator_pub_key: string;
    id: string;
    signature: string;
}

Type declaration

  • content: {
        expire_period: number;
        fee: string;
        op: OpType;
        sender_public_key: string;
    }
    • expire_period: number
    • fee: string
    • op: OpType
    • sender_public_key: string
  • content_creator_address: string
  • content_creator_pub_key: string
  • id: string
  • signature: string
thread: number

Generated using TypeDoc