Build transfer from one to many groups

Build unsigned transfer transactions from an address of one group to addresses of many groups. Each target group requires a dedicated transaction or more in case large number of outputs needed to be split.

post
Body
fromPublicKeystring · hex-stringRequired
fromPublicKeyTypestring · hex-stringOptional
gasAmountinteger · gasOptional
gasPricestring · uint256Optional
targetBlockHashstring · block-hashOptional
Responses
200
Ok
application/json
post
POST /transactions/build-transfer-from-one-to-many-groups HTTP/1.1
Host: alephium.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "fromPublicKey": "d1b70d2226308b46da297486adb6b4f1a8c1842cb159ac5ec04f384fe2d6f5da28",
  "destinations": [
    {
      "address": "1AujpupFP4KWeZvqA7itsHY9cLJmx4qTzojVZrg8W9y",
      "attoAlphAmount": "2000000000000000000"
    }
  ]
}
[
  {
    "unsignedTx": "35d1b2a520a0da34c5eb8d712aa9cc",
    "gasAmount": 20000,
    "gasPrice": "100000000000",
    "txId": "503bfb16230888af4924aa8f8250d7d348b862e267d75d3147f1998050b6da69",
    "fromGroup": 2,
    "toGroup": 1
  }
]