NewAddr

Create a new Taproot Assets address.

POST /api/new-asset-address

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeDescription

wallet_id

string

The end user's wallet id

asset_id

string

The asset genesis ID of the asset to receive

amount

uint64

The amount of the asset to receive

Request

{
  "wallet_id": "10e21d53-82d3-43d6-99bc-03ea6945d902",
  "asset_id": "75efd20fbe6bee21182c64d5c9954182f3d1fff9f815bfbb364e260b1b6b4113",
  "amount": 100
}

Response

{
    "code": 0,
    "data": {
        "address": "taprt1qqqsqqspqqzzqa006g8mu6lwyyvzcex4ex25rqhn68lln7q4h7anvn3xpvdkksgnqcss9frv8vum00v28v3uveyg5j8snfqhzrx538pnpj5u33e7wtfp48mupqss9u4y9kpxl0du9che6gmq89hvgl5vy60wlu4pdnkz2t3sdpmcs7vrpgqkgrp0dpshx6rdv95kcw309akkz6tvvfhhstn5v4ex66twv9kzumrfva58gmnfdenjuar0v3shjw35xsespk6w0d"
    },
    "message": "",
    "traceid": "e74b1118-9bb1-4249-917f-ea29097dae78"
}

Last updated