LifecycleReadService
List Flows By Tx
List lifecycle flows that reference a transaction hash.
Request
curl --request GET \ \ --url 'https://api.testnet.polyester.com/v1/chain/flows/by-tx/0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890/matches?limit=100&lookupKind=SOURCE&pageToken=eyJvZmZzZXQiOjEwMH0' \ --header 'Accept: */*'
Responses
{
"matches": [
{
"amountE18": {
"hi": "1",
"lo": "1"
},
"assetIds": {
"unifiedAssetId": 100,
"zippedAssetId": 100
},
"currentStep": "SOURCE",
"destinationAddress": "0x3333333333333333333333333333333333333333",
"destinationDomain": "EXTERNAL_CHAIN",
"flowId": "flow_7YWHMfk9JZeLMgZauHuiSxhI",
"flowKind": "DEPOSIT",
"isOpen": false,
"isTerminal": false,
"lastActivityAtUnixMs": "1",
"latestTxRef": "0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890",
"lifecycleReason": "ZIPPER_VALIDATION_REJECTED",
"ownerAccountId": "7563897446546",
"polyesterChainId": 1,
"smartAccountAddress": "0x2222222222222222222222222222222222222222",
"sourceAddress": "0x4444444444444444444444444444444444444444",
"sourceDomain": "EXTERNAL_CHAIN",
"sourceTxHash": "0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890",
"txOccurrenceIndex": "1",
"zipperReason": {
"code": "DEPOSIT_WAIT_EXPIRED",
"message": "value",
"reasonId": "value"
}
}
],
"nextPageToken": "eyJvZmZzZXQiOjIwMH0",
"txHash": "0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890"
}Chain transaction identifier to search for. Accepts a 0x-prefixed 32-byte EVM hash or a printable chain-native transaction id such as a Solana signature, Bitcoin txid, Litecoin txid, Dogecoin txid, or XRP transaction hash.
Maximum number of matches to return. Defaults to 100 when omitted; maximum is 500.
Lookup mode that determines which transaction references are searched.
Opaque keyset cursor returned by a previous response. The cursor is exclusive and bound to the transaction hash and lookup mode.
Transaction hash searched by the request.
0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890Public, URL-safe lifecycle identifier for display, URLs, and user search.
flow_7YWHMfk9JZeLMgZauHuiSxhIProduct flow family.
DEPOSITFirst observed source transaction hash for the flow when known.
0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890Latest transaction reference associated with the current visible state.
0xabc123def4567890abc123def4567890abc123def4567890abc123def4567890Stable occurrence discriminator within a transaction. For source-chain deposits this is the batched leg index; for on-chain facts it is the log or equivalent per-tx occurrence index when available.
1Product domain where the overall flow starts.
EXTERNAL_CHAINProduct domain where the overall flow ends or currently settles.
EXTERNAL_CHAINCurrent user-facing progress step for this flow.
SOURCETrue when this flow is still progressing.
falseTrue when this flow reached a final state.
falseZipped asset identifier for the chain-specific asset mapping row. This is the canonical id from `chain_zipped_assets`, which already represents the source-chain asset metadata plus its mapped zToken relationship when relevant.
100Unified asset identifier for the uAsset used by funding or trading flows when relevant. This is the canonical Polyester asset identity used by FundingAccount, TradingGateway, Lending, and other downstream product domains.
100Polyester Chain id associated with this flow.
1Most significant 64 bits.
1Least significant 64 bits.
1Source address to show for this flow.
0x4444444444444444444444444444444444444444Destination address to show for this flow.
0x3333333333333333333333333333333333333333Product-facing reason for failed, dropped, or otherwise notable flows.
ZIPPER_VALIDATION_REJECTEDTimestamp used for list ordering in milliseconds since epoch (UTC).
1Public account or subaccount identifier that owns this flow.
7563897446546Smart account address on Polyester Chain when known.
0x2222222222222222222222222222222222222222Stable code assigned to the specific outcome.
DEPOSIT_WAIT_EXPIREDStable reason identifier suitable for localization lookup.
valueUser-displayable English explanation of the outcome.
valueOpaque cursor for the next page. Empty when no more results exist.
eyJvZmZzZXQiOjIwMH0| Key | Status | Error | When |
|---|---|---|---|
| unauthenticated | 401 | Unauthenticated | Authentication required. |
| permission-denied | 403 | Permission Denied | Permission denied. |
| invalid-argument | 400 | Invalid Argument | Invalid argument. |
| not-found | 404 | Not Found | Not found. |
| unavailable | 503 | Unavailable | Service unavailable. |