Skip to content

Commit 623aebd

Browse files
committed
chore: add get transactions
1 parent 4af43cc commit 623aebd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sdk/src/gateway/cross-chain-swap.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
OnrampWithSwapsExecuteQuoteParams,
1111
OfframpWithSwapsExecuteQuoteParams,
1212
ActionsParams,
13+
TransactionParams,
1314
} from './types';
1415
import { SwapsClient } from './swaps';
1516
import { getTokenAddress } from './tokens';
@@ -161,6 +162,10 @@ export class CrossChainSwapGatewayClient extends LayerZeroGatewayClient {
161162
}
162163
}
163164

165+
getTransactions(params: TransactionParams) {
166+
return this.swapsClient.getTransactions(params);
167+
}
168+
164169
private async getSwapsOnrampQuote(
165170
params: GetQuoteParams<CrossChainSwapQuoteParamsExt>
166171
): Promise<OnrampWithSwapsExecuteQuoteParams> {

0 commit comments

Comments
 (0)