Paymaster RPC
paymasterBalance
Learn how to use the paymasterBalance JSON-RPC method.
POST
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.
The body is of type object
.
Response
200 - application/json
Successful response with the paymaster balance.
The response is of type object
.