diff --git a/docs/fdc/attestation-types/balance-decreasing-transaction.mdx b/docs/fdc/attestation-types/balance-decreasing-transaction.mdx index 0db76423..a7b4df21 100644 --- a/docs/fdc/attestation-types/balance-decreasing-transaction.mdx +++ b/docs/fdc/attestation-types/balance-decreasing-transaction.mdx @@ -33,13 +33,13 @@ A transaction is considered "balance decreasing" for the specified address if: ## Response -| Field | Solidity Type | Description | -| -------------------------- | ------------- | ---------------------------------------------------------------------- | -| `blockNumber` | `uint64` | Block number containing the transaction. | -| `blockTimestamp` | `uint64` | Timestamp of the block containing the transaction. | -| `sourceAddressHash` | `bytes32` | Standard hash of the address indicated by `sourceAddressIndicator`. | -| `spentAmount` | `int256` | Amount spent by the source address in minimal units (can be negative). | -| `standardPaymentReference` | `bytes32` | Standardized payment reference of the transaction, if available. | +| Field | Solidity Type | Description | +| -------------------------- | ------------- | ---------------------------------------------------------------------------------------------- | +| `blockNumber` | `uint64` | Block number containing the transaction. | +| `blockTimestamp` | `uint64` | Timestamp of the block containing the transaction. | +| `sourceAddressHash` | `bytes32` | Standard hash of the address indicated by `sourceAddressIndicator`. | +| `spentAmount` | `int256` | Amount spent by the source address in minimal units (can be negative). | +| `standardPaymentReference` | `bytes32` | Standard payment reference of the transaction. Zero value if the transaction has no reference. | :::warning[Standard Payment Reference] @@ -79,6 +79,7 @@ The verification process is chain-specific and can be computed with a [balance d - `spentAmount`: Difference between the balance of the address **after** and **before** the transaction. Can be negative. - `blockTimestamp`: The **close_time** of the ledger, converted to Unix time. +- `standardPaymentReference`: [Standard payment reference] for `Payment` transactions, otherwise zero. :::note[Lowest used timestamp] diff --git a/docs/fdc/attestation-types/payment.mdx b/docs/fdc/attestation-types/payment.mdx index 4fe6f5a0..4e3f6c52 100644 --- a/docs/fdc/attestation-types/payment.mdx +++ b/docs/fdc/attestation-types/payment.mdx @@ -23,11 +23,11 @@ These provable payments mimic traditional banking transactions where entity A se ## Request -| Field | Solidity Type | Description | -| --------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | -| `transactionId` | `bytes32` | Unique ID of the payment transaction. | -| `inUtxo` | `uint256` | For UTXO-based chains, this is the index of the transaction input associated with the source address. Set to `0` for non-UTXO chains. | -| `utxo` | `uint256` | For UTXO-based chains, this is the index of the transaction output associated with the receiving address. Set to `0` for non-UTXO chains. | +| Field | Solidity Type | Description | +| --------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `transactionId` | `bytes32` | Unique ID of the payment transaction. | +| `inUtxo` | `uint256` | For UTXO chains, if the value is less than `2**16`, this field is the index of the transaction input with the source address. Otherwise, it represents the `standardAddressHash` of the input address for which the payment proof will be constructed. For non-UTXO chains, this is always `0`. | +| `utxo` | `uint256` | For UTXO chains, if the value is less than `2**16`, this field is the index of the transaction output with the receiving address. Otherwise, it represents the `standardAddressHash` of the output address for which the payment proof will be constructed. For non-UTXO chains, this is always `0`. | ## Response