Skip to content

Use BatchEntry not CommitmentProof, to avoid recursion

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:709

Use BatchEntry not CommitmentProof, to avoid recursion

Generated

from message ics23.BatchEntry

Extends

  • Message<BatchEntry>

Constructors

Constructor

new BatchEntry(data?): BatchEntry

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:730

Parameters

data?

PartialMessage<BatchEntry>

Returns

BatchEntry

Overrides

Message<BatchEntry>.constructor

Properties

proof

proof: { case: "exist"; value: ExistenceProof; } | { case: "nonexist"; value: NonExistenceProof; } | { case: undefined; value?: undefined; }

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:713

Union Members

Type Literal

{ case: "exist"; value: ExistenceProof; }

case

case: "exist"

value

value: ExistenceProof

Generated

from field: ics23.ExistenceProof exist = 1;


Type Literal

{ case: "nonexist"; value: NonExistenceProof; }

case

case: "nonexist"

value

value: NonExistenceProof

Generated

from field: ics23.NonExistenceProof nonexist = 2;


Type Literal

{ case: undefined; value?: undefined; }

Generated

from oneof ics23.BatchEntry.proof


fields

readonly static fields: FieldList

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:737


runtime

readonly static runtime: ProtoRuntime = proto3

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:735


typeName

readonly static typeName: "ics23.BatchEntry" = 'ics23.BatchEntry'

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:736

Methods

equals()

static equals(a, b): boolean

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:754

Parameters

a

BatchEntry | PlainMessage<BatchEntry> | undefined

b

BatchEntry | PlainMessage<BatchEntry> | undefined

Returns

boolean


fromBinary()

static fromBinary(bytes, options?): BatchEntry

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:742

Parameters

bytes

Uint8Array

options?

Partial<BinaryReadOptions>

Returns

BatchEntry


fromJson()

static fromJson(jsonValue, options?): BatchEntry

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:746

Parameters

jsonValue

JsonValue

options?

Partial<JsonReadOptions>

Returns

BatchEntry


fromJsonString()

static fromJsonString(jsonString, options?): BatchEntry

Defined in: packages/bitbadgesjs-sdk/src/proto/proofs_pb.ts:750

Parameters

jsonString

string

options?

Partial<JsonReadOptions>

Returns

BatchEntry

Edit this page on GitHub