CardanoTx
Builds a bridging transaction with all required fees and metadata. The transaction must be signed and submitted separately.
Fee covering the submission of the transaction on the destination chain, expressed in Lovelace
Destination chain ID
Fee covering the operational cost of processing the bridging request, expressed in Lovelace
Address that initiates the bridging request on the source chain
Source chain ID
Indicates if fallback mechanism should be used
Key used to enable caching of spent UTXOs
OK - Returns the raw transaction data, transaction hash, and calculated bridging fee and amounts.
Amount of currency to be bridged, expressed in Lovelace
Bridging fee for covering submission on the destination chain, expressed in Lovelace
Amount of native token to be bridged
Transaction hash
Raw transaction data, encoded as a hexadecimal string
Bad Request – Validation error due to input data not meeting required conditions.
Unauthorized – API key missing or invalid.
Internal server error
POST /api/CardanoTx/CreateBridgingTx HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251
{
"bridgingFee": 1,
"destinationChainId": "text",
"operationFee": 1,
"senderAddr": "text",
"skipUtxos": [
{
"hash": "text",
"index": 1
}
],
"sourceChainId": "text",
"transactions": [
{
"addr": "text",
"amount": 1,
"isNativeToken": true
}
],
"useFallback": true,
"utxoCacheKey": "text"
}{
"amount": 1,
"bridgingFee": 1,
"nativeTokenAmount": 1,
"txHash": "text",
"txRaw": "text"
}Returns the transaction and bridging fees that the sender must pay on the source chain. The bridging fee covers the cost for the fee payer to submit the transaction on the destination chain.
Fee covering the submission of the transaction on the destination chain, expressed in Lovelace
Destination chain ID
Fee covering the operational cost of processing the bridging request, expressed in Lovelace
Address that initiates the bridging request on the source chain
Source chain ID
Indicates if fallback mechanism should be used
Key used to enable caching of spent UTXOs
OK - Returns calculated fees.
Bridging fee for covering submission on the destination chain, expressed in Lovelace
Transaction fee on the source chain, expressed in Lovelace
Bad Request – Validation error due to input data not meeting required conditions.
Unauthorized – API key missing or invalid.
Internal server error
POST /api/CardanoTx/GetBridgingTx HTTP/1.1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 251
{
"bridgingFee": 1,
"destinationChainId": "text",
"operationFee": 1,
"senderAddr": "text",
"skipUtxos": [
{
"hash": "text",
"index": 1
}
],
"sourceChainId": "text",
"transactions": [
{
"addr": "text",
"amount": 1,
"isNativeToken": true
}
],
"useFallback": true,
"utxoCacheKey": "text"
}{
"bridgingFee": 1,
"fee": 1
}Returns the participating chains with their specific settings, global bridge configuration (such as minimum and maximum allowed bridging amounts), and, for each source chain, the native token that will be received on the destination chain.
OK - Returns the configuration settings.
Participating chains in the bridge
Unauthorized – API key missing or invalid.
GET /api/CardanoTx/GetSettings HTTP/1.1
X-API-Key: YOUR_API_KEY
Accept: */*
{
"bridgingSettings": {
"maxAmountAllowedToBridge": "text",
"maxReceiversPerBridgingRequest": 1,
"maxTokenAmountAllowedToBridge": "text",
"minChainFeeForBridging": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"minOperationFee": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"minUtxoChainValue": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"minValueToBridge": 1
},
"cardanoChainsNativeTokens": {
"ANY_ADDITIONAL_PROPERTY": [
{
"dstChainID": "text",
"tokenName": "text"
}
]
},
"enabledChains": [
"text"
],
"runMode": "reactor"
}Last updated
Was this helpful?

