Function Signature
Description
Retrieve full details about a specific yield transaction, including its status, hash, and metadata.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
transactionId | String | Yes | The ID of the transaction to retrieve |
Returns
YieldXyzGetTransactionResponse - An object containing:
| Property | Type | Description |
|---|---|---|
transaction | YieldXyzActionTransaction | Full transaction details including status, hash, and metadata |
metadata | YieldXyzGetTransactionMetadata? | Response metadata |
error | String? | Error message, if any |
Example
Errors
| Code | Description |
|---|---|
NOT_INITIALIZED | Portal was not initialized |
YIELD_FAILED | Failed to get yield transaction |