File tree Expand file tree Collapse file tree
sdk/packages/sdk/src/protocols/intents Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -266,20 +266,6 @@ export class IntentGateway {
266266 return
267267 }
268268
269- /**
270- * Quotes the native token cost for cancelling an order.
271- *
272- * Delegates to {@link OrderCanceller.quoteCancelNative}.
273- *
274- * @param order - The order to quote cancellation for.
275- * @param fromDest - If `true`, quotes the destination-initiated cancellation fee.
276- * Defaults to `false` (source-side cancellation).
277- * @returns The native token amount required to submit the cancel transaction.
278- */
279- async quoteCancelNative ( order : Order , fromDest : boolean = false ) : Promise < bigint > {
280- return this . orderCanceller . quoteCancelNative ( order , fromDest )
281- }
282-
283269 /**
284270 * Returns both the native token cost and the relayer fee for cancelling an
285271 * order. Use `relayerFee` to approve the ERC-20 spend before submitting.
Original file line number Diff line number Diff line change @@ -50,22 +50,6 @@ export class OrderCanceller {
5050 */
5151 constructor ( private readonly ctx : IntentGatewayContext ) { }
5252
53- /**
54- * Quotes the native token cost of cancelling an order from the given chain.
55- *
56- * For same-chain orders the cost is zero. For cross-chain orders, the
57- * quote covers the ISMP GET/POST dispatch fee.
58- *
59- * @param order - The order to quote a cancellation for.
60- * @param fromDest - If `true`, quotes the destination-initiated cancellation fee.
61- * Defaults to `false` (source-side cancellation).
62- * @returns The native token amount required to submit the cancel transaction.
63- */
64- async quoteCancelNative ( order : Order , fromDest : boolean = false ) : Promise < bigint > {
65- const quote = await this . quoteCancelOrder ( order , fromDest )
66- return quote . nativeValue
67- }
68-
6953 /**
7054 * Returns both the native token cost and the relayer fee for cancelling an
7155 * order. Frontends can use `relayerFee` to approve the ERC-20 spend before
You can’t perform that action at this time.
0 commit comments