Interface IEndorsement

Represents an endorsement.

See

  • id of type string represents the ID of the endorsement.
  • in_pool of type boolean represents whether the endorsement is in the mempool.
  • in_blocks of type Array<string> represents the IDs of the blocks that contain the endorsement.
  • is_final of type boolean represents whether the endorsement is final.
  • endorsement of type object represents the endorsement:
  • endorsement.content of type object represents the content of the endorsement
  • endorsement.content.sender_public_key of type string represents the public key of the sender of the endorsement.
  • endorsement.content.slot of type ISlot represents the time slot when the endorsement was created.
  • endorsement.content.index of type number represents the index of the endorsement inside the slot.
  • endorsement.content.endorsed_block of type string represents the ID of the block that was endorsed.
  • endorsement.signature of type string represents the signature of the endorsement by its sender public key.
interface IEndorsement {
    endorsement: {
        content: {
            endorsed_block: string;
            index: number;
            sender_public_key: string;
            slot: ISlot;
        };
        signature: string;
    };
    id: string;
    in_blocks: string[];
    in_pool: boolean;
    is_final: boolean;
}

Properties

endorsement: {
    content: {
        endorsed_block: string;
        index: number;
        sender_public_key: string;
        slot: ISlot;
    };
    signature: string;
}

Type declaration

  • content: {
        endorsed_block: string;
        index: number;
        sender_public_key: string;
        slot: ISlot;
    }
    • endorsed_block: string
    • index: number
    • sender_public_key: string
    • slot: ISlot
  • signature: string
id: string
in_blocks: string[]
in_pool: boolean
is_final: boolean

Generated using TypeDoc