> For the complete documentation index, see [llms.txt](https://docs.bifrostnetwork.com/bifrost-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bifrostnetwork.com/bifrost-network/developer-documentations/client-api/json-rpc-api/payment.md).

# payment

### **queryFeeDetails(extrinsic: `Bytes`, at?: `BlockHash`): `FeeDetails`**

* **interface**: `api.rpc.payment.queryFeeDetails`
* **jsonrpc**: `payment_queryFeeDetails`
* **summary**: Queries the detailed fee of a given encoded extrinsic.
* **deprecated**: Use `api.call.transactionPaymentApi.queryFeeDetails` instead.

### **queryInfo(extrinsic: `Bytes`, at?: `BlockHash`): `RuntimeDispatchInfoV1`**

* **interface**: `api.rpc.payment.queryInfo`
* **jsonrpc**: `payment_queryInfo`
* **summary**: Retrieves the fee information for an encoded extrinsic.
* **deprecated**: Use `api.call.transactionPaymentApi.queryInfo` instead.
