Expand description
Runtime APIs for estimating xcm fee payment. This crate offers two APIs, one for estimating fees, which can be used for any type of message, and another one for returning the specific messages used for transfers, a common feature. Users of these APIs should call the transfers API and pass the result to the fees API.
Modules§
- Dry-run API. Given an extrinsic or an XCM program, it returns the outcome of its execution. Runtime API definition for dry-running XCM-related extrinsics. This API can be used to simulate XCMs and, for example, find the fees that need to be paid.
- Fee estimation API. Given an XCM program, it will return the fees needed to execute it properly or send it. Runtime API definition for getting XCM fees.