Sweep
Body
fromAddressstring · addressRequired
fromPublicKeysstring · public-key[]Required
toAddressstring · addressRequired
maxAttoAlphPerUTXOstring · uint256Optional
lockTimeinteger · int64Optional
gasAmountinteger · gasOptional
gasPricestring · uint256Optional
utxosLimitinteger · int32Optional
targetBlockHashstring · block-hashOptional
Responses
200
Ok
application/json
400
BadRequest
application/json
401
Unauthorized
application/json
404
NotFound
application/json
500
InternalServerError
application/json
503
ServiceUnavailable
application/json
post
POST /multisig/sweep HTTP/1.1
Host: alephium.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 207
{
"fromAddress": "1AujpupFP4KWeZvqA7itsHY9cLJmx4qTzojVZrg8W9y",
"fromPublicKeys": [
"d1b70d2226308b46da297486adb6b4f1a8c1842cb159ac5ec04f384fe2d6f5da28"
],
"toAddress": "1AujpupFP4KWeZvqA7itsHY9cLJmx4qTzojVZrg8W9y"
}
{
"unsignedTxs": [
{
"txId": "503bfb16230888af4924aa8f8250d7d348b862e267d75d3147f1998050b6da69",
"unsignedTx": "35d1b2a520a0da34c5eb8d712aa9cc",
"gasAmount": 20000,
"gasPrice": "100000000000"
}
],
"fromGroup": 2,
"toGroup": 1
}