get_minimum_balance_for_rent_exemption
Calculate the minimum balance needed for Solana accounts to be rent-exempt, based on specified data size, ensuring efficient blockchain interactions.
Instructions
Returns minimum balance required to make account rent exempt.
Args: size (int): Account data length
Returns: str: Minimum balance in the format "Minimum balance for rent exemption: {balance}"
Input Schema
Name | Required | Description | Default |
---|---|---|---|
size | Yes |
Input Schema (JSON Schema)
{
"properties": {
"size": {
"title": "Size",
"type": "integer"
}
},
"required": [
"size"
],
"title": "get_minimum_balance_for_rent_exemptionArguments",
"type": "object"
}