跳转到内容

blockreq_packageExpiration

此内容尚不支持你的语言。

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).

None

FieldTypeDescription
packagesarrayList of active packages

Each package object:

FieldTypeDescription
packageIdstringPackage type (e.g. starter, growth, premium, free_monthly, payg)
creditsTotalintegerTotal credits in the package
creditsRemainingintegerCredits remaining
expiresAtinteger | nullExpiration UNIX timestamp (null = no expiry)
createdAtintegerPurchase UNIX timestamp
{
"jsonrpc": "2.0",
"method": "blockreq_packageExpiration",
"params": [],
"id": 1
}
{
"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
}
]
}
}