blockreq_packageExpiration
Description
Section titled “Description”Returns all active RU packages associated with your account, including remaining credits and expiration dates. This method is only available on private endpoints (requires API key).
Parameters
Section titled “Parameters”None
Returns
Section titled “Returns”| Field | Type | Description |
|---|---|---|
packages | array | List of active packages |
Each package object:
| Field | Type | Description |
|---|---|---|
packageId | string | Package type (e.g. starter, growth, premium, free_monthly, payg) |
creditsTotal | integer | Total credits in the package |
creditsRemaining | integer | Credits remaining |
expiresAt | integer | null | Expiration UNIX timestamp (null = no expiry) |
createdAt | integer | Purchase UNIX timestamp |
Request Example
Section titled “Request Example”{ "jsonrpc": "2.0", "method": "blockreq_packageExpiration", "params": [], "id": 1}Response Example
Section titled “Response Example”{ "jsonrpc": "2.0", "id": 1, "result": { "packages": [ { "packageId": "growth", "creditsTotal": 50000000, "creditsRemaining": 32000000, "expiresAt": 1740960000, "createdAt": 1738368000 }, { "packageId": "free_monthly", "creditsTotal": 20000000, "creditsRemaining": 15000000, "expiresAt": 1740960000, "createdAt": 1738368000 } ] }}