Skip to content

BidReceipt

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / BidReceipt

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11350

Complete bid data including secrets (for bidder’s records)

auctionId: string

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11336

Unique identifier for the auction

SealedBid.auctionId


commitment: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11341

Pedersen commitment to the bid amount Format: C = amountG + saltH (compressed, 33 bytes)

SealedBid.commitment


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11345

Unix timestamp when bid was created (milliseconds)

SealedBid.timestamp


amount: bigint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11354

The bid amount (secret, don’t reveal until reveal phase)


salt: `0x${string}`

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:11358

The salt/blinding factor (secret, needed to open commitment)