diff --git a/src/request/types/btcMethods.ts b/src/request/types/btcMethods.ts index 092cdf0..3aa7412 100644 --- a/src/request/types/btcMethods.ts +++ b/src/request/types/btcMethods.ts @@ -123,3 +123,7 @@ export type SignPsbtResult = { }; export type SignPsbt = MethodParamsAndResult; + +export type GetAccountResult = Address[]; + +export type GetAccounts = MethodParamsAndResult; diff --git a/src/request/types/index.ts b/src/request/types/index.ts index 0610fd2..230ad46 100644 --- a/src/request/types/index.ts +++ b/src/request/types/index.ts @@ -1,5 +1,11 @@ -import { RpcSuccessResponse } from 'src/types'; -import { GetAddresses, GetInfo, SendTransfer, SignMessage, SignPsbt } from './btcMethods'; +import { + GetAccounts, + GetAddresses, + GetInfo, + SendTransfer, + SignMessage, + SignPsbt, +} from './btcMethods'; import { StxCallContract, StxDeployContract, @@ -27,6 +33,7 @@ export type StxRequestMethod = keyof StxRequests; export interface BtcRequests { getInfo: GetInfo; getAddresses: GetAddresses; + getAccounts: GetAccounts; signMessage: SignMessage; sendTransfer: SendTransfer; signPsbt: SignPsbt;