Get a swap
GET
https://api.radom.com/swap/{id}Returns the details of a single swap belonging to your organization.
Authorization
Send your API key in the Authorization header. Scheme: radomToken.
Parameters
idstring<uuid>pathrequiredResponses
200Swap retrieved successfully
idstring<uuid>requiredstatusSwapStatusrequiredAllowed
PendingInitiatedFailedFinalizedorgIdstring<uuid>requiredswapSettingsIdstring<uuid>nullableexternalIdstringnullablefromNetworkNetworkrequiredAllowed
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiatfromTokenstringnullablefromAmountstringrequiredfromTransactionIdstring<uuid>nullablefromTxidstringnullabletoNetworkNetworkrequiredAllowed
BitcoinBitcoinTestnetLitecoinLitecoinTestnetDogecoinDogecoinTestnetBitcoinCashBitcoinCashTestnetBitcoinSVBitcoinSVTestnetHarryPotterObamaSonic10InuHarryPotterObamaSonic10InuTestnetCardanoDashSolanaSolanaTestnetSolanaDevnetEthereumSepoliaTestnetPolygonPolygonTestnetBNBBNBTestnetArbitrumArbitrumTestnetZcashZcashTestnetPolkadotPolkadotTestnetPolkadotAssetHubPolkadotAssetHubTestnetTronTronTestnetAvalancheAvalancheTestnetBaseBaseTestnetOptimismOptimismTestnetFiattoTokenstringnullabletoTransactionIdstring<uuid>nullabletoTxidstringnullabletoAmountstringnullableswapFeestringnullablefailReasonstringnullableproviderSwapProviderrequiredAllowed
FixedFloatOKXPegasusSwapcreatedAtstring<date-time>requiredupdatedAtstring<date-time>required401Unauthorized
errorstringrequired404Not Found
errorstringrequired500Internal server error
errorstringrequired