Function Signature
Description
Submit a blockchain transaction hash to update the status of a yield action. Use this after broadcasting a transaction to link the on-chain hash with the yield action.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transactionId | String | Yes | The yield transaction ID to update |
txHash | String | Yes | The blockchain transaction hash |
Returns
YieldXyzTrackTransactionResponse - An object containing:
| Property | Type | Description |
|---|---|---|
success | bool | Whether the tracking was successful |
transactionId | String | The tracked transaction ID |
status | YieldXyzActionTransactionStatus? | Updated transaction status (notFound, created, blocked, waitingForSignature, signed, broadcasted, pending, confirmed, failed, skipped) |
transaction | YieldXyzActionTransaction? | Full transaction details |
Example
Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized |
YIELD_FAILED | Failed to track yield transaction |