Skip to main content
POST
/
v1
/
users
/
balances
Get Wallet Balances
curl --request POST \
  --url https://dev.api.mufi.app/v1/users/balances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "jsmith@example.com",
  "referenceId": "<string>"
}'
[
  {
    "address": "<string>",
    "type": "Polkadot",
    "code": 123,
    "message": "<string>",
    "generated_at": 123,
    "data": [
      {
        "asset_id": "<string>",
        "balance": "<string>",
        "name": "<string>",
        "symbol": "<string>",
        "decimals": 123,
        "lock": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

A JWT Access Token obtained from Google Cloud.

Body

application/json

This POST endpoint allows querying a user by email, id, or referenceId. Use only one field per request. If multiple fields are provided, the priority is email, followed by referenceId, and then id.

id
string<uuid>
email
string<email>
referenceId
string

Response

A successful response for user balances.

address
string
required
type
enum<string>
required
Available options:
Polkadot
code
integer
required
message
string
required
generated_at
integer
required
data
object[] | null
required