Get Polygon account balance in MATIC. This method does not print any balance of the ERC20 on the account.
GET/v1/polygon/account/balance/{address}
Path Parameters
Name
Type
Description
address*
String
Account address you want to get balance of
{"balance": "10.52"}
{"errorCode": "validation.failed","message": "Request validation failed. Please see data for additional information.","statusCode": 400,"data": [{"target": {},"value":12345,"property":"property1","constraints": {"min":"property1 must not be less than 50000" } }]}
{"errorCode": "subscription.not.active","message": "Subscription not active anymore.","statusCode": 401}
{"message": "Internal server error","statusCode": 500}