Skip to main content

payment_queryInfo

Retrieves the fee information for an encoded extrinsic

Example Request and Result for payment_queryInfo method

In this section, we provide an illustrative example of a request made to retrieve details contents using the payment_queryInfo method. Additionally, we present the resulting response containing information about the querying the fee information of a given encoded extrinsic.

Parameters

FieldsType
blockhash*string
info

The example in this section uses a non-existing project id.

Make sure you replace it with your Vara Mainnet endpoint when issuing the API calls.

Don't have a project id? Here's a straightforward guide on how to obtain one!

Retrieves the fee information for an encoded extrinsic

POST https://vara-mainnet.blastapi.io/<project-id>

Request Body

NameTypeDescription
blockhash*String0x9e307c20a2bbd447607d728724fe6da53742bb604251ebc93c40ea0573503745

Curl Request example

curl --location 'https://vara-mainnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "payment_queryInfo",
"params":["0x9e307c20a2bbd447607d728724fe6da53742bb604251ebc93c40ea0573503745"]
}'