Build

Build a multisig unsigned transaction

post
Body
fromAddressstring · addressRequired
fromPublicKeysstring · public-key[]Required
gasinteger · gasOptional
gasPricestring · uint256Optional
Responses
200
Ok
application/json
post
POST /multisig/build HTTP/1.1
Host: alephium.nownodes.io
Content-Type: application/json
Accept: */*
Content-Length: 263

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