Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...

    Implements

    Index

    Constructors

    Properties

    AdjustMethod: typeof AdjustMethod = Block.AdjustMethod
    isInstance: (obj: any, strict?: boolean) => obj is BlockBuilder = ...
    NO_PREVIOUS: string = Block.NO_PREVIOUS
    Operation: {
        CREATE_IDENTIFIER: typeof BlockOperationCREATE_IDENTIFIER;
        MANAGE_CERTIFICATE: typeof BlockOperationMANAGE_CERTIFICATE;
        MODIFY_PERMISSIONS: typeof BlockOperationMODIFY_PERMISSIONS;
        RECEIVE: typeof BlockOperationRECEIVE;
        SEND: typeof BlockOperationSEND;
        SET_INFO: typeof BlockOperationSET_INFO;
        SET_REP: typeof BlockOperationSET_REP;
        TOKEN_ADMIN_MODIFY_BALANCE: typeof BlockOperationTOKEN_ADMIN_MODIFY_BALANCE;
        TOKEN_ADMIN_SUPPLY: typeof BlockOperationTOKEN_ADMIN_SUPPLY;
    } = Block.Operation
    OperationType: typeof OperationType = Block.OperationType

    Accessors

    • get $opening(): undefined | boolean

      Returns undefined | boolean

    • get account(): undefined | GenericAccount

      Returns undefined | GenericAccount

    • set account(account: undefined | string | GenericAccount): void

      Parameters

      Returns void

    • get block(): undefined | Block

      Returns undefined | Block

    • get currentWIP(): Partial

      Returns Partial

    • get date(): undefined | Date

      Returns undefined | Date

    • set date(date: undefined | string | Date): void

      Parameters

      • date: undefined | string | Date

      Returns void

    • get network(): undefined | bigint

      Returns undefined | bigint

    • set network(network: undefined | string | bigint): void

      Parameters

      • network: undefined | string | bigint

      Returns void

    • get previous(): undefined | BlockHash

      Returns undefined | BlockHash

    • set previous(blockhash: undefined | string | BlockHash): void

      Parameters

      Returns void

    • get sealed(): boolean

      Returns boolean

    • get subnet(): undefined | bigint

      Returns undefined | bigint

    • set subnet(subnet: undefined | string | bigint): void

      Parameters

      • subnet: undefined | string | bigint

      Returns void

    • get version(): undefined | 1

      Returns undefined | 1

    • set version(version: undefined | 1): void

      Parameters

      • version: undefined | 1

      Returns void

    Methods

    • Parameters

      Returns
          | {
              $binary?: string;
              $hash: BlockHash;
              $opening: boolean;
              account: GenericAccount;
              date: Date;
              network: bigint;
              operations: ExportedJSONOperation[];
              previous: BlockHash;
              signature: string;
              signer: Account<ECDSA_SECP256K1 | ED25519 | ECDSA_SECP256R1>;
              subnet: undefined | bigint;
              version: 1;
          }
          | {
              $opening: undefined
              | boolean;
              account: undefined | GenericAccount;
              date: undefined | Date;
              network: undefined | bigint;
              operations: undefined | BlockOperations[];
              previous: undefined | BlockHash;
              signer: undefined | Account<ECDSA_SECP256K1 | ED25519 | ECDSA_SECP256R1>;
              subnet: undefined | bigint;
              version: undefined | 1;
          }

    • Returns Partial