CreateWallet

Create a wallet for the end user.

POST /api/create-wallet

Headers

Body

Request

{
"asset_pubkey":"zpub6rCz8eKwNryyQifJK4yj7KEKzA5XDp31DGf6EpmBgdZnDjPajMVgRJMB8hzNLYmaufVRqXBWcKV5aeepJSY3uSF5z3yPB14jFPhi6Aq2Y2T",
"account_pubkey":"zpub6rU6HxpLkQUXeiHJTr43TW6uNaNZGvsrKT5YKiVBmwkKwvwTm5AXKTynsmUewP8TFRvccq6Z4EJ4L7q7ycc416fT8TGdoTYHn1BmSAuMkSJ"
}

Response

{
  "wallet_id": "263afad1-a7a0-4af9-8ceb-5722aa0114fa",
  "address": "bc1qp9zm6x5q6y02036l2q93936c4fs3acjr546yly"
}

Last updated