Paymaster RPC
paymasterBalance
Learn how to use the paymasterBalance JSON-RPC method.
POST
/
#pm_paymasterBalance
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
Version of the JSON-RPC protocol, should be 2.0.
The request identifier.
API method being called.
Available options:
pm_paymasterBalance
No parameters are needed for this request.
Was this page helpful?