GetFeeForMessageApi
Methods
getFeeForMessage()
Returns the fee the network will charge for a particular message
Parameters
| Parameter | Type | Description |
|---|---|---|
message | TransactionMessageBytesBase64 | A transaction message encoded as a base64 string |
config? | Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }> | - |
Returns
SolanaRpcResponse<GetFeeForMessageApiResponse>
The fee that the network will charge to process the message, in Lamports, as computed at the specified blockhash.