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

    Constructors

    • Parameters

      • Optionalblock:
            | string
            | ArrayBuffer
            | BlockJSON
            | Block
            | {
                $binary?: string;
                $hash: BlockHash;
                $opening: boolean;
                account: GenericAccount;
                date: Date;
                idempotent: undefined
                | string;
                network: bigint;
                operations: ExportedJSONOperation[];
                previous: BlockHash;
                purpose: BlockPurpose;
                signature?: string;
                signatures?: string[];
                signer:
                    | Account<ECDSA_SECP256K1 | ED25519 | ECDSA_SECP256R1>
                    | [MultisigAddress, any[]];
                subnet: undefined | bigint;
                version: 1 | 2;
            }
            | {
                $binary?: string;
                $hash: BlockHashString;
                $opening: boolean;
                account: TokenPublicKeyString | NetworkPublicKeyString | StoragePublicKeyString | MultisigPublicKeyString | Secp256K1PublicKeyString | Secp256R1PublicKeyString | ED25519PublicKeyString;
                date: string;
                idempotent: undefined
                | string;
                network: string;
                operations: ExportedJSONOperation[];
                previous: BlockHashString;
                purpose: BlockPurpose;
                signature?: string;
                signatures?: string[];
                signer: Secp256K1PublicKeyString | Secp256R1PublicKeyString | ED25519PublicKeyString | [MultisigPublicKeyString, any[]];
                subnet: undefined | string;
                version: 1 | 2;
            }
            | BlockJSONIncomplete

      Returns BlockBuilder

    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 block(): undefined | Block

      Returns undefined | Block

    • get date(): undefined | Date

      Returns undefined | Date

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

      Parameters

      • date: undefined | string | Date

      Returns void

    • get idempotent(): undefined | string

      Returns undefined | string

    • set idempotent(idempotent: string | Buffer | ArrayBuffer): void

      Parameters

      • idempotent: string | Buffer | ArrayBuffer

      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 | number

      Returns undefined | number

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

      Parameters

      • version: undefined | number

      Returns void

    Methods

    • Parameters

      Returns
          | {
              $binary?: string;
              $hash: BlockHash;
              $opening: boolean;
              account: GenericAccount;
              date: Date;
              idempotent: undefined
              | string;
              network: bigint;
              operations: ExportedJSONOperation[];
              previous: BlockHash;
              purpose: BlockPurpose;
              signature?: string;
              signatures?: string[];
              signer:
                  | Account<ECDSA_SECP256K1 | ED25519 | ECDSA_SECP256R1>
                  | [MultisigAddress, any[]];
              subnet: undefined | bigint;
              version: 1 | 2;
          }
          | {
              $opening: undefined
              | boolean;
              account: undefined | GenericAccount;
              date: undefined | Date;
              idempotent: undefined | string;
              network: undefined | bigint;
              operations: undefined | BlockOperations[];
              previous: undefined | BlockHash;
              purpose: BlockPurpose;
              signer: undefined | BlockSignerFieldJSON;
              subnet: undefined | bigint;
              version: undefined | number;
          }