Understanding paymasterBalance
paymasterBalance
returns the USD balance (6 decimals) of the Paymaster associated with yourprojectId
(projectUuid
) andserverKey
(projectKey
). It takes no parameters other than theprojectUuid
andprojectKey
for authentication.
Query example
JavaScript
Query Parameters
UUID of the project.
Key of the project.
Body
application/json
Request to retrieve the balance of the paymaster.
Version of the JSON-RPC protocol, should be 2.0.
Example:
"2.0"
The request identifier.
Example:
0
API method being called.
Available options:
pm_paymasterBalance
Parameters for the API method call. No parameters are needed for this request.