Alchemy Logo

getFeeForMessage

POST
/{apiKey}

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

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

Messageobjectrequired

Base-64 encoded Message.

Configurationobjectoptional

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?