FulfillmentResult
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / FulfillmentResult
Interface: FulfillmentResult
Section titled “Interface: FulfillmentResult”Defined in: @sip-protocol/types/dist/index.d.ts:305
Result of intent fulfillment
Properties
Section titled “Properties”intentId
Section titled “intentId”intentId:
string
Defined in: @sip-protocol/types/dist/index.d.ts:307
Intent that was fulfilled
status
Section titled “status”Defined in: @sip-protocol/types/dist/index.d.ts:309
Final status
outputAmount?
Section titled “outputAmount?”
optionaloutputAmount:bigint
Defined in: @sip-protocol/types/dist/index.d.ts:311
Actual output amount received
txHash?
Section titled “txHash?”
optionaltxHash:string
Defined in: @sip-protocol/types/dist/index.d.ts:313
Transaction hash (only for transparent mode)
fulfillmentProof?
Section titled “fulfillmentProof?”
optionalfulfillmentProof:ZKProof
Defined in: @sip-protocol/types/dist/index.d.ts:315
ZK proof of fulfillment (for shielded modes)
fulfilledAt
Section titled “fulfilledAt”fulfilledAt:
number
Defined in: @sip-protocol/types/dist/index.d.ts:317
Timestamp of fulfillment
error?
Section titled “error?”
optionalerror:string
Defined in: @sip-protocol/types/dist/index.d.ts:319
Error message (if failed)