getMinimumBalanceForRentExemption
Authorizations
AuthorizationstringOptional
Authorization header for API key authentication.
Example:
Authorization: your-api-key-here
Body
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0Possible values: idone ofRequiredExample:
Request identifier that will be returned in the response
1stringOptional
numberOptional
methodstring · enumRequiredExample:
The RPC method name
getMinimumBalanceForRentExemptionPossible values: Responses
200
Successful Response
application/json
RPC response containing the minimum balance for rent exemption
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0Possible values: idone ofRequiredExample:
Request identifier matching the original request
1stringOptional
numberOptional
resultinteger · int64OptionalExample:
The minimum balance required in lamports to make the account rent exempt.
This value represents the exact number of lamports needed to ensure the account will never have its balance reduced by Solana's rent collection mechanism.
Key facts about rent exemption:
- 1 SOL = 1,000,000,000 lamports
- Rent exempt accounts maintain their balance indefinitely
- Non-exempt accounts lose lamports over time until they're deleted
- The calculation includes a base rent cost plus storage cost per byte
- Rent rates are determined by network economics and validator costs
2039280401
Unauthorized
text/plain
403
Forbidden
text/plain
429
Too Many Requests
text/plain
500
Internal Server Error
text/plain
post
/Last updated