payment_queryFeeDetails
Query the detailed fee of a given encoded extrinsic
Example Request and Result for payment_queryFeeDetails method
In this section, we provide an illustrative example of a request made to retrieve details contents using the payment_queryFeeDetails
method. Additionally, we present the resulting response containing information about the querying the detailed fee of a given encoded extrinsic.
Parameters
Fields | Type |
---|---|
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!
Query the detailed fee of a given encoded extrinsic
POST
https://vara-mainnet.blastapi.io/<project-id>
Request Body
Name | Type | Description |
---|---|---|
blockhash* | String | 0x9e307c20a2bbd447607d728724fe6da53742bb604251ebc93c40ea0573503745 |
- 200: OK
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_queryFeeDetails",
"params":["0x9e307c20a2bbd447607d728724fe6da53742bb604251ebc93c40ea0573503745"]
}'