POST
/
credit
/
balance
curl --request POST \
  --url https://api.openformat.tech/v1/credit/balance \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "chain": "arbitrum-sepolia",
  "token_id": "0xd1f09c70f6f2838a3ab6209c1465af68594667ec",
  "user_id": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
}'
{
  "success": true,
  "balance": "12345123000000000000000",
  "balance_formatted": "12345.123",
  "decimals": 18
}
{
  "success": true,
  "balance": "12345123000000000000000",
  "balance_formatted": "12345.123",
  "decimals": 18
}

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

200
application/json

Credit Balance

The response is of type object.