TrackedPayment
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / TrackedPayment
Interface: TrackedPayment
Section titled “Interface: TrackedPayment”Defined in: @sip-protocol/types/dist/index.d.ts:1549
Payment tracking info
Extends
Section titled “Extends”Properties
Section titled “Properties”paymentId
Section titled “paymentId”paymentId:
string
Defined in: @sip-protocol/types/dist/index.d.ts:1449
Unique payment identifier
Inherited from
Section titled “Inherited from”version
Section titled “version”version:
string
Defined in: @sip-protocol/types/dist/index.d.ts:1451
SIP version
Inherited from
Section titled “Inherited from”privacyLevel
Section titled “privacyLevel”privacyLevel:
PrivacyLevel
Defined in: @sip-protocol/types/dist/index.d.ts:1453
Privacy level for this payment
Inherited from
Section titled “Inherited from”createdAt
Section titled “createdAt”createdAt:
number
Defined in: @sip-protocol/types/dist/index.d.ts:1455
Creation timestamp (Unix seconds)
Inherited from
Section titled “Inherited from”expiry
Section titled “expiry”expiry:
number
Defined in: @sip-protocol/types/dist/index.d.ts:1457
Expiration timestamp (Unix seconds)
Inherited from
Section titled “Inherited from”token:
Asset
Defined in: @sip-protocol/types/dist/index.d.ts:1459
The token being transferred
Inherited from
Section titled “Inherited from”amount
Section titled “amount”amount:
bigint
Defined in: @sip-protocol/types/dist/index.d.ts:1461
Amount in smallest units (hidden via commitment in shielded mode)
Inherited from
Section titled “Inherited from”amountCommitment?
Section titled “amountCommitment?”
optionalamountCommitment:Commitment
Defined in: @sip-protocol/types/dist/index.d.ts:1463
Pedersen commitment to amount (for shielded mode)
Inherited from
Section titled “Inherited from”ShieldedPayment.amountCommitment
senderCommitment?
Section titled “senderCommitment?”
optionalsenderCommitment:Commitment
Defined in: @sip-protocol/types/dist/index.d.ts:1465
Pedersen commitment to sender (for shielded mode)
Inherited from
Section titled “Inherited from”ShieldedPayment.senderCommitment
recipientStealth?
Section titled “recipientStealth?”
optionalrecipientStealth:object
Defined in: @sip-protocol/types/dist/index.d.ts:1467
Recipient stealth address (for shielded mode)
address
Section titled “address”address:
`0x${string}`
ephemeralPublicKey
Section titled “ephemeralPublicKey”ephemeralPublicKey:
`0x${string}`
viewTag
Section titled “viewTag”viewTag:
number
Inherited from
Section titled “Inherited from”ShieldedPayment.recipientStealth
recipientAddress?
Section titled “recipientAddress?”
optionalrecipientAddress:string
Defined in: @sip-protocol/types/dist/index.d.ts:1473
Direct recipient address (for transparent mode)
Inherited from
Section titled “Inherited from”ShieldedPayment.recipientAddress
sourceChain
Section titled “sourceChain”sourceChain:
ChainId
Defined in: @sip-protocol/types/dist/index.d.ts:1475
Source chain
Inherited from
Section titled “Inherited from”destinationChain
Section titled “destinationChain”destinationChain:
ChainId
Defined in: @sip-protocol/types/dist/index.d.ts:1477
Destination chain (can be same as source for same-chain transfers)
Inherited from
Section titled “Inherited from”ShieldedPayment.destinationChain
purpose?
Section titled “purpose?”
optionalpurpose:PaymentPurpose
Defined in: @sip-protocol/types/dist/index.d.ts:1479
Payment purpose (for compliance)
Inherited from
Section titled “Inherited from”
optionalmemo:string
Defined in: @sip-protocol/types/dist/index.d.ts:1481
Optional memo/reference (encrypted in shielded mode)
Inherited from
Section titled “Inherited from”encryptedMemo?
Section titled “encryptedMemo?”
optionalencryptedMemo:`0x${string}`
Defined in: @sip-protocol/types/dist/index.d.ts:1483
Encrypted memo (for shielded mode with viewing key)
Inherited from
Section titled “Inherited from”fundingProof?
Section titled “fundingProof?”
optionalfundingProof:ZKProof
Defined in: @sip-protocol/types/dist/index.d.ts:1485
Funding proof (balance >= amount)
Inherited from
Section titled “Inherited from”authorizationProof?
Section titled “authorizationProof?”
optionalauthorizationProof:ZKProof
Defined in: @sip-protocol/types/dist/index.d.ts:1487
Authorization proof
Inherited from
Section titled “Inherited from”ShieldedPayment.authorizationProof
viewingKeyHash?
Section titled “viewingKeyHash?”
optionalviewingKeyHash:`0x${string}`
Defined in: @sip-protocol/types/dist/index.d.ts:1489
Viewing key hash (for compliant mode)
Inherited from
Section titled “Inherited from”ShieldedPayment.viewingKeyHash
status
Section titled “status”status:
PaymentStatusType
Defined in: @sip-protocol/types/dist/index.d.ts:1551
Current status
sourceTxHash?
Section titled “sourceTxHash?”
optionalsourceTxHash:string
Defined in: @sip-protocol/types/dist/index.d.ts:1553
Source transaction hash (once submitted)
destinationTxHash?
Section titled “destinationTxHash?”
optionaldestinationTxHash:string
Defined in: @sip-protocol/types/dist/index.d.ts:1555
Destination transaction hash (once settled)
error?
Section titled “error?”
optionalerror:string
Defined in: @sip-protocol/types/dist/index.d.ts:1557
Error message (if failed)