addOutgoingSettlementTransaction
Adds an outgoing settlement transaction along with the creation of a new ticket on Fireblocks
POST api/fireblocks/addOutgoingSettlementTransaction
{
"counterpartyId": 4,
"asset": "BTC",
"amount": 100000000000,
"comment": "I am going to send BTC transaction via Fireblocks",
"expiresIn": 2,
"network": "BTC"
}{
"settlementTransactions": [
{
"ticketId": "1a1a1a1a-1a1a-1a1a-1a1a-1a1a1a1a1a1a",
"transactionId": 1234567890
}
]
}{
"error": 9, // error code might vary
"errorDescription": [
"INPUT_ERROR" // additional error details
]
}Request parameters
counterpartyId
Efx::ClientId
Counterparty Id
asset
string
Asset name
amount
Efx::Size
Amount
comment
string
Optional. Comment
expiresIn
unsigned int16
Optional. Fireblocks ticket will be marked as expired after specified amount of hours. Settlement Transaction will be cancelled on Platform. Max value supported by Fireblocks is 48 hours
network
string
Optional. Network name
Response description
settlementTransactions
Array of SettlementTransactions
Operation results, includes IDs of the created Settlement Transaction and Fireblocks Ticket
SettlementTransaction
ticketId
string
ID of the created Fireblocks Ticket. UUID string
transactionId
Efx::OrderId
ID of the created Settlement Transaction (transaction's order id)
Last updated