Scribe API Reference
Get Quote
POST
/protocol/get-protocol-quotes
Fetch the quote for adding liquidity into Scribe from any chain using any token.
Base URL
https://api.pod.routerintents.com
Body
{
"ReceiverAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"SourceTokens": [
{
"chainId": "8453",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "ETH",
"symbol": "ETH",
"decimals": 18
}
],
"DestinationTokens": [
{
"chainId": "534352",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "ETH",
"symbol": "ETH",
"decimals": 18
},
{
"chainId": "534352",
"address": "0x80137510979822322193FC997d400D5A6C747bf7",
"name": "STONE",
"symbol": "STONE",
"decimals": 18
}
],
"Amount": [
"4000000000000000"
],
"SourceChainId": 8453,
"Protocol": [
{
"protocolId": "scribe",
"chainId": "534352",
"action": "deposit",
"poolId": ""
}
]
}
// For protocol, pass the following:
{
"protocolId": "scribe",
"chainId": "534352",
"action": "deposit",
"poolId": ""
}
Response
200: Success
{
"Code": 0,
"Errors": [],
"PayLoad": {
"appId": "0",
"quotationType": "BatchTransaction",
"feeParams": [
{
"fee": "2000000000000",
"recipient": "0x00EB64b501613F8Cf8Ef3Ac4F82Fc63a50343fee",
"decimals": 18,
"symbol": "ETH",
"tokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"chainId": 8453,
"name": "ETH",
"adapter": "batch-handler",
"appId": "0",
"feeArray": []
}
],
"slippageTolerance": 2,
"sourceTokens": [
{
"chainId": "8453",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "ETH",
"symbol": "ETH",
"decimals": 18
}
],
"amount": [
"4000000000000000"
],
"sourceChainId": 8453,
"destinationChainId": 534352,
"adapters": [
{
"adapterId": "nitro_bridge",
"adapterType": "bridge",
"sourceChainId": 8453,
"destChainId": "534352",
"adapterOptions": {
"srcToken": {
"chainId": "8453",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "ETH",
"symbol": "ETH",
"decimals": 18
},
"amountIn": "3998000000000000",
"amountOut": "9567709",
"destToken": {
"chainId": "534352",
"address": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"name": "USDT",
"symbol": "USDT",
"decimals": 6,
"resourceID": "usdt",
"isMintable": false,
"isWrappedAsset": false
},
"receiverAddress": "0xeA8fd31012991e1518Fe47f7BC7849859385Cf70",
"data": {
"actionType": 0,
"refundAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"partnerId": 176,
"isSingleEntry": false,
"tokens": [
"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
],
"bridgeFee": {
"amount": "304544411394198",
"decimals": 18,
"symbol": "WETH",
"address": "0x4200000000000000000000000000000000000006"
},
"isMainnet": true,
"quotationParams": {
"fromTokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"toTokenAddress": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"amount": "3998000000000000",
"fromTokenChainId": 8453,
"toTokenChainId": "534352",
"partnerId": 176,
"additionalGasLimit": 2000000,
"slippageTolerance": 2
},
"forwarderQuotation": {
"flowType": "trustless",
"isTransfer": "false",
"isWrappedToken": false,
"allowanceTo": "0x0fa205c0446cd9eedcc7538c9e24bc55ad08207f",
"bridgeFee": {
"amount": "304544411394198",
"decimals": 18,
"symbol": "WETH",
"address": "0x4200000000000000000000000000000000000006"
},
"fuelTransfer": null,
"fromTokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"toTokenAddress": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"source": {
"chainId": "8453",
"chainType": "evm",
"asset": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": "8453",
"address": "0x4200000000000000000000000000000000000006",
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": 8453,
"address": "0x4200000000000000000000000000000000000006"
}
},
"stableReserveAsset": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": "8453",
"address": "0x4200000000000000000000000000000000000006",
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false
},
"tokenAmount": "3998000000000000",
"stableReserveAmount": "3998000000000000",
"path": [
"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
],
"flags": [],
"priceImpact": "0",
"tokenPath": "",
"dataTx": [
"0x00"
]
},
"destination": {
"chainId": "534352",
"chainType": "evm",
"asset": {
"decimals": 6,
"symbol": "USDT",
"name": "USDT",
"chainId": "534352",
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
"resourceID": "usdt",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 6,
"symbol": "USDT",
"name": "USDT",
"chainId": 534352,
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df"
}
},
"stableReserveAsset": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": "534352",
"address": "0x5300000000000000000000000000000000000004",
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false
},
"tokenAmount": "9664353",
"stableReserveAmount": "3693455588605802",
"priceImpact": "0.00",
"tokenPath": "WETH->USDT",
"dataTx": [
"0x90411a32000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000005300000000000000000000000000000000000004000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c566000000000000000000000000000000000000000000000000000d1f2da45a3f6a000000000000000000000000000000000000000000000000000000000091fddd00000000000000000000000000000000000000000000000000000000009377610000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d2137a6d0ef438a7c2bb38eeef364500271658be000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001045761880400000000000000000000000083ffefbca071347df469c4e64820c95b01b957be0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000d1f2da45a3f6a000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb0853000000000000000000000000000000000000040001f4f55bec9cafdbe8730f096aa55dad6d22d44099df0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000648a6a1e85000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df000000000000000000000000353c1f0bc78fbbc245b3c93ef77b1dcc5b77d2a0000000000000000000000000000000000000000000000000000000000093776100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a49f865422000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df00000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d1660f99000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df0000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c56600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"path": [
"0x5300000000000000000000000000000000000004",
"0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df"
],
"flags": [
"4002"
]
},
"partnerId": "176",
"slippageTolerance": "2",
"estimatedTime": 40
},
"destinationAmount": "9664353",
"destinationAmountPromised": "9567709"
}
},
"trnxType": 1,
"adapters": [
{
"adapterId": "dex_swap",
"adapterType": "swap",
"sourceChainId": "534352",
"destChainId": "534352",
"adapterOptions": {
"srcToken": {
"chainId": "534352",
"address": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"name": "USDT",
"symbol": "USDT",
"decimals": 6,
"resourceID": "usdt",
"isMintable": false,
"isWrappedAsset": false
},
"amountIn": "4759935",
"amountOut": "1821107856521906",
"destToken": {
"chainId": "534352",
"address": "0x5300000000000000000000000000000000000004",
"name": "WETH",
"symbol": "WETH",
"decimals": 18,
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false
},
"receiverAddress": "0xeA8fd31012991e1518Fe47f7BC7849859385Cf70",
"data": {
"tokens": [
"0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"0x5300000000000000000000000000000000000004"
],
"flags": [
"4002"
],
"dataTx": [
"0x90411a32000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df0000000000000000000000005300000000000000000000000000000000000004000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c566000000000000000000000000000000000000000000000000000000000048a17f000000000000000000000000000000000000000000000000000657298525dfeb00000000000000000000000000000000000000000000000000067849b6e2bab20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d2137a6d0ef438a7c2bb38eeef364500271658be000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000009400000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000f40000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104e5b07cdb0000000000000000000000000e1f6e0d45590682e26ee4770a1fa23ee7313bca00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045b9b000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002ef55bec9cafdbe8730f096aa55dad6d22d44099df0001f4530000000000000000000000000000000000000400002a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104576188040000000000000000000000007acc57850c00381452bfd652a56e6f8bf742d71e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e7be000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb08f55bec9cafdbe8730f096aa55dad6d22d44099df000bb853000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000882f1fdd5e320e39b6baa8317ec6f0171d1f499800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000000000000000000000000000000000000000415e2600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a40000000000000000000000000000000600000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000240000000000000000000000004ff8ee3bb572df9ab5f4dc14a3601f3ebbebde2c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffff00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000010000000000000000000000000000000130000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002400000000000000000000000084060db8d094da25274618652b7189c146fef70e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffff00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a40000000000000000000000000000000100000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000240000000000000000000000008f1a7d52da27bdd701c4082b12cd5cfe40edf66900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffff00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000648a6a1e850000000000000000000000005300000000000000000000000000000000000004000000000000000000000000353c1f0bc78fbbc245b3c93ef77b1dcc5b77d2a000000000000000000000000000000000000000000000000000067849b6e2bab200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a49f865422000000000000000000000000530000000000000000000000000000000000000400000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d1660f9900000000000000000000000053000000000000000000000000000000000000040000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c56600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"sourceStableReserveAmount": "1821107856521906",
"sourceStableReserveToken": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": "534352",
"address": "0x5300000000000000000000000000000000000004",
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": 534352,
"address": "0x5300000000000000000000000000000000000004"
}
},
"slippageTolerance": 3,
"forwarderQuotation": {
"flowType": "none",
"isTransfer": "false",
"isWrappedToken": false,
"allowanceTo": "0x5546dA2bCdCFF39b187723434cDE10D4eE99C566",
"bridgeFee": {},
"fuelTransfer": null,
"fromTokenAddress": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"toTokenAddress": "0x5300000000000000000000000000000000000004",
"source": {
"chainId": "534352",
"chainType": "evm",
"asset": {
"decimals": 6,
"symbol": "USDT",
"name": "USDT",
"chainId": "534352",
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
"resourceID": "usdt",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 6,
"symbol": "USDT",
"name": "USDT",
"chainId": 534352,
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df"
}
},
"stableReserveAsset": null,
"tokenAmount": "4759935",
"stableReserveAmount": "1821107856521906",
"path": [
"0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"0x5300000000000000000000000000000000000004"
],
"flags": [
"4002"
],
"priceImpact": "0.00",
"tokenPath": "undefined->WETH",
"dataTx": [
"0x90411a32000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df0000000000000000000000005300000000000000000000000000000000000004000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c566000000000000000000000000000000000000000000000000000000000048a17f000000000000000000000000000000000000000000000000000657298525dfeb00000000000000000000000000000000000000000000000000067849b6e2bab20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d2137a6d0ef438a7c2bb38eeef364500271658be000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000009400000000000000000000000000000000000000000000000000000000000000c400000000000000000000000000000000000000000000000000000000000000f40000000000000000000000000000000000000000000000000000000000000106000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104e5b07cdb0000000000000000000000000e1f6e0d45590682e26ee4770a1fa23ee7313bca00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045b9b000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002ef55bec9cafdbe8730f096aa55dad6d22d44099df0001f4530000000000000000000000000000000000000400002a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104576188040000000000000000000000007acc57850c00381452bfd652a56e6f8bf742d71e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e7be000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb08f55bec9cafdbe8730f096aa55dad6d22d44099df000bb853000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000882f1fdd5e320e39b6baa8317ec6f0171d1f499800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000000000000000000000000000000000000000415e2600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff8000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a40000000000000000000000000000000600000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000240000000000000000000000004ff8ee3bb572df9ab5f4dc14a3601f3ebbebde2c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffff00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000010000000000000000000000000000000130000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002400000000000000000000000084060db8d094da25274618652b7189c146fef70e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffff00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a40000000000000000000000000000000100000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000240000000000000000000000008f1a7d52da27bdd701c4082b12cd5cfe40edf66900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001043eece7db000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fffffff00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000a7e848aca42d879ef06507fca0e7b33a0a63c1e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000648a6a1e850000000000000000000000005300000000000000000000000000000000000004000000000000000000000000353c1f0bc78fbbc245b3c93ef77b1dcc5b77d2a000000000000000000000000000000000000000000000000000067849b6e2bab200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a49f865422000000000000000000000000530000000000000000000000000000000000000400000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d1660f9900000000000000000000000053000000000000000000000000000000000000040000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c56600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
]
},
"destination": {
"chainId": "534352",
"asset": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": "534352",
"address": "0x5300000000000000000000000000000000000004",
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 18,
"symbol": "WETH",
"name": "WETH",
"chainId": 534352,
"address": "0x5300000000000000000000000000000000000004"
}
},
"tokenAmount": "1821107856521906"
},
"partnerId": "176",
"sameChainSwapFee": "0",
"slippageTolerance": "2",
"estimatedTime": 40
},
"partnerId": 176,
"isSingleEntry": false
}
},
"trnxType": 1,
"adapters": []
},
{
"adapterId": "dex_swap",
"adapterType": "swap",
"sourceChainId": "534352",
"destChainId": "534352",
"adapterOptions": {
"srcToken": {
"chainId": "534352",
"address": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"name": "USDT",
"symbol": "USDT",
"decimals": 6,
"resourceID": "usdt",
"isMintable": false,
"isWrappedAsset": false
},
"amountIn": "4759935",
"amountOut": "1774022406658518",
"destToken": {
"chainId": "534352",
"address": "0x80137510979822322193FC997d400D5A6C747bf7",
"name": "STONE",
"symbol": "STONE",
"decimals": 18
},
"receiverAddress": "0xeA8fd31012991e1518Fe47f7BC7849859385Cf70",
"data": {
"tokens": [
"0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"0x80137510979822322193FC997d400D5A6C747bf7"
],
"flags": [
"4002"
],
"dataTx": [
"0x90411a32000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df00000000000000000000000080137510979822322193fc997d400d5a6c747bf7000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c566000000000000000000000000000000000000000000000000000000000048a17f00000000000000000000000000000000000000000000000000062d31d7dd71a300000000000000000000000000000000000000000000000000064d76c75f59d60000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d2137a6d0ef438a7c2bb38eeef364500271658be00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000058000000000000000000000000000000000000000000000000000000000000008800000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000000000000000000000ca000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104576188040000000000000000000000007acc57850c00381452bfd652a56e6f8bf742d71e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048a17f000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb08f55bec9cafdbe8730f096aa55dad6d22d44099df000bb853000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f8654220000000000000000000000005300000000000000000000000000000000000004000000000000000000000000000000010000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001045761880400000000000000000000000096cfa2a369ec67a93c324a35e693fbeea11c059400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb0853000000000000000000000000000000000000040001f406efdbff2a14a7c8e15944d1f4a48f9f95f663a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a40000000000000000000000000000000600000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000010457618804000000000000000000000000521d5bd2a533f03b20ff8935d57fffcfe0dba7e300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb0806efdbff2a14a7c8e15944d1f4a48f9f95f663a4000bb880137510979822322193fc997d400d5a6c747bf7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104e5b07cdb000000000000000000000000625265a2ce3275a2a236a4cf7c1554f3ce61653a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e06efdbff2a14a7c8e15944d1f4a48f9f95f663a4000bb880137510979822322193fc997d400d5a6c747bf70000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000648a6a1e8500000000000000000000000080137510979822322193fc997d400d5a6c747bf7000000000000000000000000353c1f0bc78fbbc245b3c93ef77b1dcc5b77d2a000000000000000000000000000000000000000000000000000064d76c75f59d600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a49f86542200000000000000000000000080137510979822322193fc997d400d5a6c747bf700000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d1660f9900000000000000000000000080137510979822322193fc997d400d5a6c747bf70000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c56600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"sourceStableReserveAmount": "1774022406658518",
"sourceStableReserveToken": {
"decimals": 18,
"symbol": "STONE",
"name": "StakeStone Ether",
"chainId": "534352",
"address": "0x80137510979822322193FC997d400D5A6C747bf7",
"resourceID": "",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 18,
"symbol": "STONE",
"name": "StakeStone Ether",
"chainId": 534352,
"address": "0x80137510979822322193FC997d400D5A6C747bf7"
}
},
"slippageTolerance": 3,
"forwarderQuotation": {
"flowType": "none",
"isTransfer": "false",
"isWrappedToken": false,
"allowanceTo": "0x5546dA2bCdCFF39b187723434cDE10D4eE99C566",
"bridgeFee": {},
"fuelTransfer": null,
"fromTokenAddress": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"toTokenAddress": "0x80137510979822322193FC997d400D5A6C747bf7",
"source": {
"chainId": "534352",
"chainType": "evm",
"asset": {
"decimals": 6,
"symbol": "USDT",
"name": "USDT",
"chainId": "534352",
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df",
"resourceID": "usdt",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 6,
"symbol": "USDT",
"name": "USDT",
"chainId": 534352,
"address": "0xf55BEC9cafDbE8730f096Aa55dad6D22d44099Df"
}
},
"stableReserveAsset": null,
"tokenAmount": "4759935",
"stableReserveAmount": "1774022406658518",
"path": [
"0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"0x80137510979822322193FC997d400D5A6C747bf7"
],
"flags": [
"4002"
],
"priceImpact": "0.00",
"tokenPath": "undefined->STONE",
"dataTx": [
"0x90411a32000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000f55bec9cafdbe8730f096aa55dad6d22d44099df00000000000000000000000080137510979822322193fc997d400d5a6c747bf7000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df00000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c566000000000000000000000000000000000000000000000000000000000048a17f00000000000000000000000000000000000000000000000000062d31d7dd71a300000000000000000000000000000000000000000000000000064d76c75f59d60000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d2137a6d0ef438a7c2bb38eeef364500271658be00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000058000000000000000000000000000000000000000000000000000000000000008800000000000000000000000000000000000000000000000000000000000000b800000000000000000000000000000000000000000000000000000000000000ca000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104576188040000000000000000000000007acc57850c00381452bfd652a56e6f8bf742d71e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048a17f000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb08f55bec9cafdbe8730f096aa55dad6d22d44099df000bb853000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f8654220000000000000000000000005300000000000000000000000000000000000004000000000000000000000000000000010000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001045761880400000000000000000000000096cfa2a369ec67a93c324a35e693fbeea11c059400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb0853000000000000000000000000000000000000040001f406efdbff2a14a7c8e15944d1f4a48f9f95f663a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a40000000000000000000000000000000600000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000010457618804000000000000000000000000521d5bd2a533f03b20ff8935d57fffcfe0dba7e300000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003f8c7d3063579bdb0b90997e18a770eae32e1ebb0806efdbff2a14a7c8e15944d1f4a48f9f95f663a4000bb880137510979822322193fc997d400d5a6c747bf7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002449f86542200000000000000000000000006efdbff2a14a7c8e15944d1f4a48f9f95f663a400000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000104e5b07cdb000000000000000000000000625265a2ce3275a2a236a4cf7c1554f3ce61653a00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000170100a288dc3d7e83fea20441f98166b15b6df000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002e06efdbff2a14a7c8e15944d1f4a48f9f95f663a4000bb880137510979822322193fc997d400d5a6c747bf70000110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000648a6a1e8500000000000000000000000080137510979822322193fc997d400d5a6c747bf7000000000000000000000000353c1f0bc78fbbc245b3c93ef77b1dcc5b77d2a000000000000000000000000000000000000000000000000000064d76c75f59d600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001a49f86542200000000000000000000000080137510979822322193fc997d400d5a6c747bf700000000000000000000000000000001000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000064d1660f9900000000000000000000000080137510979822322193fc997d400d5a6c747bf70000000000000000000000005546da2bcdcff39b187723434cde10d4ee99c56600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
]
},
"destination": {
"chainId": "534352",
"asset": {
"decimals": 18,
"symbol": "STONE",
"name": "StakeStone Ether",
"chainId": "534352",
"address": "0x80137510979822322193FC997d400D5A6C747bf7",
"resourceID": "",
"isMintable": false,
"isWrappedAsset": false,
"isReserveAsset": false,
"tokenInstance": {
"decimals": 18,
"symbol": "STONE",
"name": "StakeStone Ether",
"chainId": 534352,
"address": "0x80137510979822322193FC997d400D5A6C747bf7"
}
},
"tokenAmount": "1774022406658518"
},
"partnerId": "176",
"sameChainSwapFee": "0",
"slippageTolerance": "2",
"estimatedTime": 40
},
"partnerId": 176,
"isSingleEntry": false
}
},
"trnxType": 1,
"adapters": []
},
{
"adapterId": "scribe_deposit",
"adapterType": "amm",
"sourceChainId": "534352",
"destChainId": "534352",
"adapterOptions": {
"receiverAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"data": {
"refundAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"token0": {
"chainId": "534352",
"address": "0x5300000000000000000000000000000000000004",
"name": "WETH",
"symbol": "WETH",
"decimals": 18,
"resourceID": "native-eth",
"isMintable": false,
"isWrappedAsset": false
},
"token1": {
"chainId": "534352",
"address": "0x80137510979822322193FC997d400D5A6C747bf7",
"name": "STONE",
"symbol": "STONE",
"decimals": 18
},
"deployer": "0x0000000000000000000000000000000000000000",
"tickLower": "-840",
"tickUpper": "360",
"amount0Desired": "1821107856521906",
"amount1Desired": "1774022406658518",
"amount0Min": "1821107856522",
"amount1Min": "1774022406659",
"recipient": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"deadline": 1727699136681,
"fee": 100,
"tickPerPriceMin": "0.9646",
"tickPerPriceMax": "1.0876"
}
},
"adapters": []
}
],
"fee": {
"fee": "304544411394198",
"recipient": "",
"decimals": 18,
"symbol": "WETH",
"tokenAddress": "0x4200000000000000000000000000000000000006",
"chainId": 8453,
"name": "WETH",
"adapter": "nitro_bridge",
"appId": "0",
"feeArray": []
}
}
],
"quote": [
{
"amountSent": 3998000000000000,
"amountReceived": "9567709",
"amountReceivedInEther": "9.567709",
"exchangeRate": "",
"estimatedTime": 40,
"slippageTolerance": "2",
"srcToken": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"destToken": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"adapterId": "nitro_bridge",
"bridgeFee": {
"amount": "304544411394198",
"decimals": 18,
"symbol": "WETH",
"address": "0x4200000000000000000000000000000000000006"
}
},
{
"amountSent": "4759935",
"amountReceived": "1821107856521906",
"amountReceivedInEther": "0.001821",
"exchangeRate": 1,
"estimatedTime": 40,
"slippageTolerance": "2",
"srcToken": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"destToken": "0x5300000000000000000000000000000000000004",
"adapterId": "dex_swap"
},
{
"amountSent": "4759935",
"amountReceived": "1774022406658518",
"amountReceivedInEther": "0.001774",
"exchangeRate": 1,
"estimatedTime": 40,
"slippageTolerance": "2",
"srcToken": "0xf55bec9cafdbe8730f096aa55dad6d22d44099df",
"destToken": "0x80137510979822322193FC997d400D5A6C747bf7",
"adapterId": "dex_swap"
},
{
"amountSent": 0,
"amountReceived": 0,
"amountReceivedInEther": 0,
"srcToken": "",
"destToken": "",
"adapterId": "scribe_deposit",
"estimatedTime": 0
}
],
"clientAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"senderAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"estimatedTime": 80,
"trnxTypes": [
1
]
}
}
400: Bad Request
{
"Code": 1,
"Error": [
{
"Code": "1",
"Message": [
{
"title": "",
"message": ""
}
]
}
],
"Payload": null
}
Sample cURL
curl --location 'https://api.pod.routerintents.com/router-intent/protocol/get-protocol-quotes' \
--header 'Accept: */*' \
--header 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/json' \
--header 'Origin: https://poc-intents-ui.vercel.app' \
--header 'Referer: https://poc-intents-ui.vercel.app/' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
--header 'Sec-Fetch-Site: cross-site' \
--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36' \
--header 'sec-ch-ua: "Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'sec-ch-ua-platform: "macOS"' \
--data '{
"ReceiverAddress": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"SourceTokens": [
{
"chainId": "8453",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "ETH",
"symbol": "ETH",
"decimals": 18
}
],
"DestinationTokens": [
{
"chainId": "534352",
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"name": "ETH",
"symbol": "ETH",
"decimals": 18
},
{
"chainId": "534352",
"address": "0x80137510979822322193FC997d400D5A6C747bf7",
"name": "STONE",
"symbol": "STONE",
"decimals": 18
}
],
"Amount": [
"4000000000000000"
],
"SourceChainId": 8453,
"Protocol": [
{
"protocolId": "scribe",
"chainId": "534352",
"action": "deposit",
"poolId": ""
}
]
}'
Compose Calldata
POST
/adapter/compose-adapter-calldata
Fetch the calldata to execute the quote fetched via the get-protocol-quotes
endpoint
Base URL
https://api.pod.routerintents.com
Body
Payload object from the response of the get-protocol-quotes
endpoint
Response
{
"Code": 0,
"Errors": [],
"PayLoad": {
"trnxId": "30f2bf0d-f9ea-4768-ae42-f2a51af44d7d",
"gasPrice": "665289",
"calldata": "0xabcd",
"to": "0x0bF29AbE25E74948A5956b04a44A3B4b63D33150",
"from": "0x2B4fAD70FC7E6579f19163DeEBbc5846bead25C8",
"value": "4000000000000000",
"prioritySteps": [],
"gasLimit": "3000000"
}
}
{
"Code": 1,
"Error": [
{
"Code": "1",
"Message": [
{
"title": "",
"message": ""
}
]
}
],
"Payload": null
}
Notes:
In the payload,
prioritySteps
will contain the approval transaction calldata that needs to be executed before performing the transaction.The estimated
gasLimit
sent by our APIs are not based on any simulations because it is not possible to simulate gasLimit without having token allowance. ThegasLimit
sent by our APIs is a highly conservative estimate of the gas that a tx could use. Since the actual gas limit will be much lower, we suggest that the API users estimate thegasLimit
themselves once the approval tx is mined.
Last updated