Build multi addresses

Build an unsigned transaction with multiple addresses to a number of recipients

post
Body
gasPricestring · uint256Optional
targetBlockHashstring · block-hashOptional
Responses
200
Ok
application/json
post
POST /transactions/build-multi-addresses HTTP/1.1
Host: alephium.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 211

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