GetMinimumBalanceConfig

type GetMinimumBalanceConfig = object;

Configuration options for ClientWithGetMinimumBalance.getMinimumBalance.

Properties

withoutHeader?

optional withoutHeader: boolean;

When true, the 128-byte account header is not added to the provided space value.

By default, the account header (128 bytes) is included in the minimum balance computation on top of the provided space. Set this to true if the provided space already accounts for the header or if you want the minimum balance for the data portion only.

See

@solana/accounts#BASE_ACCOUNT_SIZE | BASE_ACCOUNT_SIZE for the account header size constant.

On this page