Alchemy Logo

getFeeForMessage

POST
/{apiKey}

Get the fee the network will charge for a particular Message.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectrequired

Base-64 encoded Message.

objectoptional

Optional configuration object.

Responses

200

The fee corresponding to the message at the specified blockhash.

Fee corresponding to the message at the specified blockhash.

Was this page helpful?