Skip to content

Commit 5d91160

Browse files
authored
Add snap_getCurrencyRate to SnapMethods (#2843)
This adds the types for the `snap_getCurrencyRate` method in `snaps-sdk`. It was forgotten in #2763
1 parent a916c19 commit 5d91160

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/snaps-sdk/src/types/methods/methods.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ import type {
2020
GetClientStatusParams,
2121
GetClientStatusResult,
2222
} from './get-client-status';
23+
import type {
24+
GetCurrencyRateParams,
25+
GetCurrencyRateResult,
26+
} from './get-currency-rate';
2327
import type { GetEntropyParams, GetEntropyResult } from './get-entropy';
2428
import type { GetFileParams, GetFileResult } from './get-file';
2529
import type {
@@ -64,6 +68,7 @@ export type SnapMethods = {
6468
snap_getBip32PublicKey: [GetBip32PublicKeyParams, GetBip32PublicKeyResult];
6569
snap_getBip44Entropy: [GetBip44EntropyParams, GetBip44EntropyResult];
6670
snap_getClientStatus: [GetClientStatusParams, GetClientStatusResult];
71+
snap_getCurrencyRate: [GetCurrencyRateParams, GetCurrencyRateResult];
6772
snap_getEntropy: [GetEntropyParams, GetEntropyResult];
6873
snap_getFile: [GetFileParams, GetFileResult];
6974
snap_getLocale: [GetLocaleParams, GetLocaleResult];

0 commit comments

Comments
 (0)