POST
/
api
/
v1
/
subscription
/
create
curl --request POST \
  --url https://dash.betteruseblockchain.com/api/v1/subscription/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "ADDRESS_TRANSACTION",
  "address": "<string>",
  "network": "XDC"
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
enum<string>
required

The type of subscription (e.g., ADDRESS_TRANSACTION).

Available options:
ADDRESS_TRANSACTION
address
string
required

The wallet address for the subscription.

Maximum length: 255
network
enum<string>
required

The blockchain network for the subscription.

Available options:
XDC,
ETH,
BTC,
BSC,
POL

Response

201
application/json
Subscription created successfully
id
string

The unique identifier for the subscription.