All chains
    Preparing search index...
    calculate_fee: RuntimeDescriptor<
        [
            command: Enum<
                {
                    AgentExecute: {
                        agent_id: FixedSizeBinary<32>;
                        command: Enum<
                            {
                                TransferToken: {
                                    amount: bigint;
                                    recipient: FixedSizeBinary<20>;
                                    token: FixedSizeBinary<20>;
                                };
                            },
                        >;
                    };
                    MintForeignToken: {
                        amount: bigint;
                        recipient: FixedSizeBinary<20>;
                        token_id: FixedSizeBinary<32>;
                    };
                    RegisterForeignToken: {
                        decimals: number;
                        name: Binary;
                        symbol: Binary;
                        token_id: FixedSizeBinary<32>;
                    };
                    SetOperatingMode: {
                        mode: Enum<
                            { Normal: undefined; RejectingOutboundMessages: undefined },
                        >;
                    };
                    SetPricingParameters: {
                        delivery_cost: bigint;
                        exchange_rate: FixedSizeArray<4, bigint>;
                        multiplier: FixedSizeArray<4, bigint>;
                    };
                    SetTokenTransferFees: {
                        create_asset_xcm: bigint;
                        register_token: FixedSizeArray<4, bigint>;
                        transfer_asset_xcm: bigint;
                    };
                    UnlockNativeToken: {
                        agent_id: FixedSizeBinary<32>;
                        amount: bigint;
                        recipient: FixedSizeBinary<20>;
                        token: FixedSizeBinary<20>;
                    };
                    Upgrade: {
                        impl_address: FixedSizeBinary<20>;
                        impl_code_hash: FixedSizeBinary<32>;
                        initializer?: { maximum_required_gas: bigint; params: Binary };
                    };
                },
            >,
            parameters: | {
                exchange_rate: bigint;
                fee_per_gas: FixedSizeArray<4, bigint>;
                multiplier: bigint;
                rewards: { local: bigint; remote: FixedSizeArray<4, bigint> };
            }
            | undefined,
        ],
        { local: bigint; remote: bigint },
    >

    Calculate the delivery fee for command