curl --request GET \
--url https://1click.chaindefuser.com/v0/status \
--header 'Authorization: Bearer <token>'{
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"quoteResponse": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z",
"signature": "<string>",
"quoteRequest": {
"dry": true,
"swapType": "EXACT_INPUT",
"slippageTolerance": 100,
"originAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
"depositType": "ORIGIN_CHAIN",
"destinationAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
"amount": "1000",
"refundTo": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"refundType": "ORIGIN_CHAIN",
"recipient": "13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK",
"recipientType": "DESTINATION_CHAIN",
"deadline": "2019-08-24T14:15:22Z",
"depositMode": "SIMPLE",
"connectedWallets": [
"0x123...",
"0x456..."
],
"sessionId": "session_abc123",
"virtualChainRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"virtualChainRefundRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"customRecipientMsg": "smart-contract-recipient.near",
"referral": "referral",
"quoteWaitingTimeMs": 3000,
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
]
},
"quote": {
"amountIn": "1000000",
"amountInFormatted": "1",
"amountInUsd": "1",
"minAmountIn": "995000",
"amountOut": "9950000",
"amountOutFormatted": "9.95",
"amountOutUsd": "9.95",
"minAmountOut": "9900000",
"timeEstimate": 120,
"depositAddress": "0x76b4c56085ED136a8744D52bE956396624a730E8",
"depositMemo": "1111111",
"deadline": "2025-03-04T15:00:00Z",
"timeWhenInactive": "2025-03-04T15:00:00Z",
"virtualChainRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"virtualChainRefundRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"customRecipientMsg": "smart-contract-recipient.near"
}
},
"status": "KNOWN_DEPOSIT_TX",
"updatedAt": "2023-11-07T05:31:56Z",
"swapDetails": {
"intentHashes": [
"<string>"
],
"nearTxHashes": [
"<string>"
],
"originChainTxHashes": [
{
"hash": "0x123abc456def789",
"explorerUrl": "<string>"
}
],
"destinationChainTxHashes": [
{
"hash": "0x123abc456def789",
"explorerUrl": "<string>"
}
],
"amountIn": "1000",
"amountInFormatted": "0.1",
"amountInUsd": "0.1",
"amountOut": "9950000",
"amountOutFormatted": "9.95",
"amountOutUsd": "9.95",
"slippage": 50,
"refundedAmount": "1000",
"refundedAmountFormatted": "0.1",
"refundedAmountUsd": "0.1",
"refundReason": "PARTIAL_DEPOSIT",
"depositedAmount": "<string>",
"depositedAmountFormatted": "<string>",
"depositedAmountUsd": "<string>",
"referral": "referral"
}
}Retrieves the current status of a swap using the unique deposit address from the quote, if quote response included deposit memo, it is required as well.
The response includes the state of the swap (e.g., pending, processing, success, refunded) and any associated swap and transaction details.
curl --request GET \
--url https://1click.chaindefuser.com/v0/status \
--header 'Authorization: Bearer <token>'{
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"quoteResponse": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z",
"signature": "<string>",
"quoteRequest": {
"dry": true,
"swapType": "EXACT_INPUT",
"slippageTolerance": 100,
"originAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
"depositType": "ORIGIN_CHAIN",
"destinationAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
"amount": "1000",
"refundTo": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"refundType": "ORIGIN_CHAIN",
"recipient": "13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK",
"recipientType": "DESTINATION_CHAIN",
"deadline": "2019-08-24T14:15:22Z",
"depositMode": "SIMPLE",
"connectedWallets": [
"0x123...",
"0x456..."
],
"sessionId": "session_abc123",
"virtualChainRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"virtualChainRefundRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"customRecipientMsg": "smart-contract-recipient.near",
"referral": "referral",
"quoteWaitingTimeMs": 3000,
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
]
},
"quote": {
"amountIn": "1000000",
"amountInFormatted": "1",
"amountInUsd": "1",
"minAmountIn": "995000",
"amountOut": "9950000",
"amountOutFormatted": "9.95",
"amountOutUsd": "9.95",
"minAmountOut": "9900000",
"timeEstimate": 120,
"depositAddress": "0x76b4c56085ED136a8744D52bE956396624a730E8",
"depositMemo": "1111111",
"deadline": "2025-03-04T15:00:00Z",
"timeWhenInactive": "2025-03-04T15:00:00Z",
"virtualChainRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"virtualChainRefundRecipient": "0xb4c2fbec9d610F9A3a9b843c47b1A8095ceC887C",
"customRecipientMsg": "smart-contract-recipient.near"
}
},
"status": "KNOWN_DEPOSIT_TX",
"updatedAt": "2023-11-07T05:31:56Z",
"swapDetails": {
"intentHashes": [
"<string>"
],
"nearTxHashes": [
"<string>"
],
"originChainTxHashes": [
{
"hash": "0x123abc456def789",
"explorerUrl": "<string>"
}
],
"destinationChainTxHashes": [
{
"hash": "0x123abc456def789",
"explorerUrl": "<string>"
}
],
"amountIn": "1000",
"amountInFormatted": "0.1",
"amountInUsd": "0.1",
"amountOut": "9950000",
"amountOutFormatted": "9.95",
"amountOutUsd": "9.95",
"slippage": 50,
"refundedAmount": "1000",
"refundedAmountFormatted": "0.1",
"refundedAmountUsd": "0.1",
"refundReason": "PARTIAL_DEPOSIT",
"depositedAmount": "<string>",
"depositedAmountFormatted": "<string>",
"depositedAmountUsd": "<string>",
"referral": "referral"
}
}Enter JWT token (optional)
Unique identifier for request tracing and debugging
"550e8400-e29b-41d4-a716-446655440000"
Quote response from the original request
Show child attributes
KNOWN_DEPOSIT_TX, PENDING_DEPOSIT, INCOMPLETE_DEPOSIT, PROCESSING, SUCCESS, REFUNDED, FAILED Last time the state was updated
Details of actual swaps and withdrawals
Show child attributes
Was this page helpful?