SwapQuote
Quote data captured when the swap was created.
inputAmount objectrequired
Input source amount that will be paid by the user (including fees, but excluding source network fees).
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
outputAmount objectrequired
Output destination amount that will be paid out to the user.
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
fees objectrequired
Fee breakdown included in the quote.
swap objectrequired
Swap service fee (charged in source token).
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
networkOutput object
Swap fee to cover the transaction network fees on the destination side (charged in source token).
Decimal format of the amount, e.g. 1.5.
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
1500000000000000000Token decimals, e.g. 18.
Token ticker, e.g. STRK.
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
Quote expiration timestamp in milliseconds since Unix epoch.
Output address of the swap, the destination tokens will be sent here.
{
"inputAmount": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"outputAmount": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"fees": {
"swap": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
},
"networkOutput": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
}
},
"expiry": 0,
"outputAddress": "string"
}