getMinimumBalanceForRentExemption RPC-methode
Geeft het minimale saldo terug dat vereist is om een account vrij te stellen van rent.
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getMinimumBalanceForRentExemption",> "params": [> 50,> {> "commitment": "processed"> }> ]> }> '
params
usizerequired
De datalengte van het account
objectoptional
Configuratieobject met de volgende velden:
result
Response
{"jsonrpc": "2.0","result": 500,"id": 1}
u64
Minimaal aantal lamports vereist in het account om rent-vrij te blijven
Is this page helpful?