SerializedAction
Serialized swap execution action with all non-serializable fields stripped.
Serialized swap execution action with all non-serializable fields stripped.
Possible values: [SendToAddress, SignPSBT, SignSmartChainTransaction, Wait]
- SendToAddress
- SignPSBT
- SignSmartChainTransaction
- Wait
Possible values: [Deposit on Lightning, Deposit on Bitcoin]
Possible values: [LIGHTNING, BITCOIN]
txs object[]required
Possible values: [BOLT11_PAYMENT_REQUEST, BITCOIN_ADDRESS]
amount objectrequired
Unified amount type for all API responses.
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.
- object
- object
Possible values: [SignPSBT]
Possible values: [Deposit on Bitcoin]
Possible values: [BITCOIN]
txs object[]required
Possible values: [FUNDED_PSBT]
Possible values: [Initiate swap, Settle manually, Refund]
Smart-chain identifier on which the transactions should be signed.
Unsigned smart-chain transactions serialized to strings.
Address of the signer required to sign the transactions.
Possible values: [Awaiting LP payout, Automatic settlement, Bitcoin confirmations]
{
"type": "SendToAddress",
"name": "Deposit on Lightning",
"description": "string",
"chain": "LIGHTNING",
"txs": [
{
"type": "BOLT11_PAYMENT_REQUEST",
"address": "string",
"hyperlink": "string",
"amount": {
"amount": "string",
"rawAmount": "1500000000000000000",
"decimals": 0,
"symbol": "string",
"chain": "string"
}
}
]
}