Preparing search index...
The search index is not available
@solana/spl-token
@solana/spl-token
calculateFee
Function calculateFee
calculate
Fee
(
transferFee
,
preFeeAmount
)
:
bigint
Calculate the transfer fee
Parameters
transferFee
:
TransferFee
preFeeAmount
:
bigint
Returns
bigint
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@solana/spl-token
AccountState
AccountType
AuthorityType
CpiGuardInstruction
DefaultAccountStateInstruction
ExtensionType
InterestBearingMintInstruction
MemoTransferInstruction
MetadataPointerInstruction
TokenInstruction
TransferFeeInstruction
TransferHookInstruction
TokenAccountNotFoundError
TokenError
TokenInvalidAccountDataError
TokenInvalidAccountError
TokenInvalidAccountOwnerError
TokenInvalidAccountSizeError
TokenInvalidInstructionDataError
TokenInvalidInstructionKeysError
TokenInvalidInstructionProgramError
Loading...
Generated using
TypeDoc
Calculate the transfer fee