PaymentReferenceCalculator
Last updated
Last updated
Compute the payment reference, the last 8 bytes of a salted hash of the request ID.
The payment reference is the parameter that ties the request to events emitted by on-chain payments via Request Network payment smart contracts.
Name | Type | Required | Description |
---|---|---|---|
string
requestId
string
The ID of the request
salt
string
The salt of the request
address
string
Payment recipient address