getMinimumBalanceForRentExemption RPC Metodu

Hesabın rent muafiyeti için gereken minimum bakiyeyi döndürür.

$ 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

Hesabın veri uzunluğu

objectoptional

Aşağıdaki alanları içeren yapılandırma nesnesi:

result

Response
{
"jsonrpc": "2.0",
"result": 500,
"id": 1
}
u64

Hesabın rent ücreti ödemeden kalabilmesi için gereken minimum lamport miktarı

Is this page helpful?