Check the Native Balance of a Wallet
Last updated
Last updated
The native coin on Playfix wallet is $MATIC. To check the balance of a native coin stored in a wallet, send a GET request to the /wallet/<wallet_name>/balance
endpoint.
GET
https://api.playfix.io/wallet/<wallet_name>/balance
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Example Curl API Call
Example Python API Call
Response
The response is the balance of the native coin in the wallet.
wallet_name*
String
TName of the wallet containing the native coin. This should be the value of name
from a previously created wallet. It begins with wallets/
followed by a ULID.
Authorization*
String
Bearer <your_bearer_token>