SerializedActionSendToAddress
Serialized action requiring the user to send funds to a Bitcoin address or Lightning invoice.
typestringrequired
Possible values: [SendToAddress]
namestringrequired
Possible values: [Deposit on Lightning, Deposit on Bitcoin]
descriptionstringrequired
chainstringrequired
Possible values: [LIGHTNING, BITCOIN]
txs object[]required
Array [
typestringrequired
Possible values: [BOLT11_PAYMENT_REQUEST, BITCOIN_ADDRESS]
addressstringrequired
hyperlinkstringrequired
amount objectrequired
Unified amount type for all API responses.
amountdecimalrequired
Decimal format of the amount, e.g. 1.5.
rawAmountbigintrequired
Raw base units as string, e.g. 1500000000000000000.
Possible values: Value must match regular expression ^[+-]?\d+$
Example:
1500000000000000000decimalsintegerrequired
Token decimals, e.g. 18.
symbolstringrequired
Token ticker, e.g. STRK.
chainstringrequired
Chain identifier, e.g. STARKNET, BITCOIN, LIGHTNING.
]
SerializedActionSendToAddress
{
"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"
}
}
]
}