Retrieve Swap
Retrieves a single swap and its status.
Path parameters
Swap ID returned from POST /swaps.
Response
swap status retrieved
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"error": "Swap reverted: quoted price moved beyond the slippage tolerance",
"id": "vault-swap-cwal_xxxxxxxxxxxxxx",
"object": "swap",
"status": "failed",
"tx_hashes": [
"0xabc"
]
}Changes
Changed in 64 of the 74 revisions of this API.4131
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
added the new optional
headerrequest parameterApi-Version-Dateto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
- ○
the security scope
crypto_wallet:swapwas added to the endpoint's security schemebearerAuthapi-security-scope-added
- ○
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
Of the 74 revisions, 1 has no diff computed.