Keeta LogoKeeta Logo@keetanetwork/keetanet-client
    Preparing search index...
    ToJSONSerializable: T extends bigint
        ? string
        : T extends Date
            ? string
            : T extends Buffer
                ? string
                : T extends { toJSONSerializable(): U }
                    ? U
                    : T extends { toJSON(): U }
                        ? ToJSONSerializable<U>
                        : T extends Account<
                            infer K extends
                                typeof AccountKeyAlgorithm[keyof typeof AccountKeyAlgorithm],
                        >
                            ? ReturnType<Account<K>["publicKeyString"]["get"]>
                            : T extends BlockHash
                                ? string
                                : T extends Permissions
                                    ? [string, string]
                                    : T extends Vote
                                        ? ReturnType<Vote["toJSON"]> & { $binary: string }
                                        : T extends VoteStaple
                                            ? ReturnType<VoteStaple["toJSON"]> & { $binary: string }
                                            : T extends Block
                                                ? ReturnType<Block["toJSON"]> & { $binary: string }
                                                : T extends JSONSerializable
                                                    ? T
                                                    : T extends object
                                                        ? { [K in keyof T]: ToJSONSerializable<T[K]> }
                                                        : never

    Type Parameters

    • T