@sats-connect/core 0.8.1-f2a77fa → 0.8.1-fb4ce52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -148
- package/dist/index.d.ts +3 -148
- package/dist/index.js +195 -277
- package/dist/index.mjs +195 -267
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -346,6 +346,7 @@ type ListenerInfo = {
|
|
|
346
346
|
};
|
|
347
347
|
type AddListener = (arg: ListenerInfo) => () => void;
|
|
348
348
|
interface BaseBitcoinProvider {
|
|
349
|
+
version?: number;
|
|
349
350
|
request: <Method extends keyof Requests>(method: Method, options: Params<Method>, providerId?: string) => Promise<RpcResponse<Method>>;
|
|
350
351
|
connect: (request: string) => Promise<GetAddressResponse>;
|
|
351
352
|
signMessage: (request: string) => Promise<SignMessageResponse>;
|
|
@@ -358,6 +359,7 @@ interface BaseBitcoinProvider {
|
|
|
358
359
|
}
|
|
359
360
|
type Capability = keyof BaseBitcoinProvider;
|
|
360
361
|
interface BitcoinProvider extends BaseBitcoinProvider {
|
|
362
|
+
version: 1;
|
|
361
363
|
getCapabilities?: (request: string) => Promise<GetCapabilitiesResponse>;
|
|
362
364
|
}
|
|
363
365
|
interface Provider {
|
|
@@ -1009,151 +1011,6 @@ declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
|
|
|
1009
1011
|
type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
|
|
1010
1012
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1011
1013
|
|
|
1012
|
-
declare const sparkFlashnetGetJwtMethodName = "spark_flashnet_getJwt";
|
|
1013
|
-
declare const sparkFlashnetGetJwtParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1014
|
-
/**
|
|
1015
|
-
* A message to be displayed to the user in the request prompt.
|
|
1016
|
-
*/
|
|
1017
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1018
|
-
}, undefined>, undefined>;
|
|
1019
|
-
type SparkFlashnetGetJwtParams = v.InferOutput<typeof sparkFlashnetGetJwtParamsSchema>;
|
|
1020
|
-
declare const sparkFlashnetGetJwtResultSchema: v.ObjectSchema<{
|
|
1021
|
-
/**
|
|
1022
|
-
* The JWT token for authenticated requests to the Flashnet API.
|
|
1023
|
-
*/
|
|
1024
|
-
readonly jwt: v.StringSchema<undefined>;
|
|
1025
|
-
}, undefined>;
|
|
1026
|
-
type SparkFlashnetGetJwtResult = v.InferOutput<typeof sparkFlashnetGetJwtResultSchema>;
|
|
1027
|
-
declare const sparkFlashnetGetJwtRequestMessageSchema: v.ObjectSchema<{
|
|
1028
|
-
readonly method: v.LiteralSchema<"spark_flashnet_getJwt", undefined>;
|
|
1029
|
-
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1030
|
-
/**
|
|
1031
|
-
* A message to be displayed to the user in the request prompt.
|
|
1032
|
-
*/
|
|
1033
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1034
|
-
}, undefined>, undefined>;
|
|
1035
|
-
readonly id: v.StringSchema<undefined>;
|
|
1036
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1037
|
-
}, undefined>;
|
|
1038
|
-
type SparkFlashnetGetJwtRequestMessage = v.InferOutput<typeof sparkFlashnetGetJwtRequestMessageSchema>;
|
|
1039
|
-
type SparkFlashnetGetJwt = MethodParamsAndResult<SparkFlashnetGetJwtParams, SparkFlashnetGetJwtResult>;
|
|
1040
|
-
|
|
1041
|
-
declare const sparkFlashnetRouteSwapIntentSchema: v.ObjectSchema<{
|
|
1042
|
-
readonly type: v.LiteralSchema<"executeRouteSwap", undefined>;
|
|
1043
|
-
readonly data: v.ObjectSchema<{
|
|
1044
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1045
|
-
readonly initialSparkTransferId: v.StringSchema<undefined>;
|
|
1046
|
-
readonly hops: v.ArraySchema<v.ObjectSchema<{
|
|
1047
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1048
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1049
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1050
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1051
|
-
}, undefined>, undefined>;
|
|
1052
|
-
readonly inputAmount: v.StringSchema<undefined>;
|
|
1053
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1054
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1055
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1056
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1057
|
-
}, undefined>;
|
|
1058
|
-
}, undefined>;
|
|
1059
|
-
|
|
1060
|
-
declare const sparkFlashnetSwapIntentSchema: v.ObjectSchema<{
|
|
1061
|
-
readonly type: v.LiteralSchema<"executeSwap", undefined>;
|
|
1062
|
-
readonly data: v.ObjectSchema<{
|
|
1063
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1064
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1065
|
-
readonly transferId: v.StringSchema<undefined>;
|
|
1066
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1067
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1068
|
-
readonly amountIn: v.StringSchema<undefined>;
|
|
1069
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1070
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1071
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1072
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1073
|
-
}, undefined>;
|
|
1074
|
-
}, undefined>;
|
|
1075
|
-
|
|
1076
|
-
declare const sparkFlashnetSignIntentMethodName = "spark_flashnet_signIntent";
|
|
1077
|
-
declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1078
|
-
readonly type: v.LiteralSchema<"executeSwap", undefined>;
|
|
1079
|
-
readonly data: v.ObjectSchema<{
|
|
1080
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1081
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1082
|
-
readonly transferId: v.StringSchema<undefined>;
|
|
1083
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1084
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1085
|
-
readonly amountIn: v.StringSchema<undefined>;
|
|
1086
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1087
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1088
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1089
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1090
|
-
}, undefined>;
|
|
1091
|
-
}, undefined>, v.ObjectSchema<{
|
|
1092
|
-
readonly type: v.LiteralSchema<"executeRouteSwap", undefined>;
|
|
1093
|
-
readonly data: v.ObjectSchema<{
|
|
1094
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1095
|
-
readonly initialSparkTransferId: v.StringSchema<undefined>;
|
|
1096
|
-
readonly hops: v.ArraySchema<v.ObjectSchema<{
|
|
1097
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1098
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1099
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1100
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1101
|
-
}, undefined>, undefined>;
|
|
1102
|
-
readonly inputAmount: v.StringSchema<undefined>;
|
|
1103
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1104
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1105
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1106
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1107
|
-
}, undefined>;
|
|
1108
|
-
}, undefined>], undefined>;
|
|
1109
|
-
type SparkFlashnetSignIntentParams = v.InferOutput<typeof sparkFlashnetSignIntentParamsSchema>;
|
|
1110
|
-
declare const sparkFlashnetSignIntentResultSchema: v.ObjectSchema<{
|
|
1111
|
-
/**
|
|
1112
|
-
* The signed intent as a hex string.
|
|
1113
|
-
*/
|
|
1114
|
-
readonly signature: v.StringSchema<undefined>;
|
|
1115
|
-
}, undefined>;
|
|
1116
|
-
type SparkFlashnetSignIntentResult = v.InferOutput<typeof sparkFlashnetSignIntentResultSchema>;
|
|
1117
|
-
declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
1118
|
-
readonly method: v.LiteralSchema<"spark_flashnet_signIntent", undefined>;
|
|
1119
|
-
readonly params: v.UnionSchema<[v.ObjectSchema<{
|
|
1120
|
-
readonly type: v.LiteralSchema<"executeSwap", undefined>;
|
|
1121
|
-
readonly data: v.ObjectSchema<{
|
|
1122
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1123
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1124
|
-
readonly transferId: v.StringSchema<undefined>;
|
|
1125
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1126
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1127
|
-
readonly amountIn: v.StringSchema<undefined>;
|
|
1128
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1129
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1130
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1131
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1132
|
-
}, undefined>;
|
|
1133
|
-
}, undefined>, v.ObjectSchema<{
|
|
1134
|
-
readonly type: v.LiteralSchema<"executeRouteSwap", undefined>;
|
|
1135
|
-
readonly data: v.ObjectSchema<{
|
|
1136
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1137
|
-
readonly initialSparkTransferId: v.StringSchema<undefined>;
|
|
1138
|
-
readonly hops: v.ArraySchema<v.ObjectSchema<{
|
|
1139
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1140
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1141
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1142
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1143
|
-
}, undefined>, undefined>;
|
|
1144
|
-
readonly inputAmount: v.StringSchema<undefined>;
|
|
1145
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1146
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1147
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1148
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1149
|
-
}, undefined>;
|
|
1150
|
-
}, undefined>], undefined>;
|
|
1151
|
-
readonly id: v.StringSchema<undefined>;
|
|
1152
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1153
|
-
}, undefined>;
|
|
1154
|
-
type SparkFlashnetSignIntentRequestMessage = v.InferOutput<typeof sparkFlashnetSignIntentRequestMessageSchema>;
|
|
1155
|
-
type SparkFlashnetSignIntent = MethodParamsAndResult<SparkFlashnetSignIntentParams, SparkFlashnetSignIntentResult>;
|
|
1156
|
-
|
|
1157
1014
|
declare const sparkGetAddressesMethodName = "spark_getAddresses";
|
|
1158
1015
|
declare const sparkGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1159
1016
|
/**
|
|
@@ -2252,8 +2109,6 @@ type SparkRequests = {
|
|
|
2252
2109
|
[sparkGetBalanceMethodName]: SparkGetBalance;
|
|
2253
2110
|
[sparkTransferMethodName]: SparkTransfer;
|
|
2254
2111
|
[sparkTransferTokenMethodName]: SparkTransferToken;
|
|
2255
|
-
[sparkFlashnetGetJwtMethodName]: SparkFlashnetGetJwt;
|
|
2256
|
-
[sparkFlashnetSignIntentMethodName]: SparkFlashnetSignIntent;
|
|
2257
2112
|
};
|
|
2258
2113
|
type SparkRequestMethod = keyof SparkRequests;
|
|
2259
2114
|
type BtcRequests = {
|
|
@@ -2343,4 +2198,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2343
2198
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2344
2199
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2345
2200
|
|
|
2346
|
-
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkFlashnetGetJwt, type SparkFlashnetGetJwtParams, type SparkFlashnetGetJwtRequestMessage, type SparkFlashnetGetJwtResult, type SparkFlashnetSignIntent, type SparkFlashnetSignIntentParams, type SparkFlashnetSignIntentRequestMessage, type SparkFlashnetSignIntentResult, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkFlashnetGetJwtMethodName, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestMessageSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetRouteSwapIntentSchema, sparkFlashnetSignIntentMethodName, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestMessageSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSwapIntentSchema, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|
|
2201
|
+
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|
package/dist/index.d.ts
CHANGED
|
@@ -346,6 +346,7 @@ type ListenerInfo = {
|
|
|
346
346
|
};
|
|
347
347
|
type AddListener = (arg: ListenerInfo) => () => void;
|
|
348
348
|
interface BaseBitcoinProvider {
|
|
349
|
+
version?: number;
|
|
349
350
|
request: <Method extends keyof Requests>(method: Method, options: Params<Method>, providerId?: string) => Promise<RpcResponse<Method>>;
|
|
350
351
|
connect: (request: string) => Promise<GetAddressResponse>;
|
|
351
352
|
signMessage: (request: string) => Promise<SignMessageResponse>;
|
|
@@ -358,6 +359,7 @@ interface BaseBitcoinProvider {
|
|
|
358
359
|
}
|
|
359
360
|
type Capability = keyof BaseBitcoinProvider;
|
|
360
361
|
interface BitcoinProvider extends BaseBitcoinProvider {
|
|
362
|
+
version: 1;
|
|
361
363
|
getCapabilities?: (request: string) => Promise<GetCapabilitiesResponse>;
|
|
362
364
|
}
|
|
363
365
|
interface Provider {
|
|
@@ -1009,151 +1011,6 @@ declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
|
|
|
1009
1011
|
type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
|
|
1010
1012
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1011
1013
|
|
|
1012
|
-
declare const sparkFlashnetGetJwtMethodName = "spark_flashnet_getJwt";
|
|
1013
|
-
declare const sparkFlashnetGetJwtParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1014
|
-
/**
|
|
1015
|
-
* A message to be displayed to the user in the request prompt.
|
|
1016
|
-
*/
|
|
1017
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1018
|
-
}, undefined>, undefined>;
|
|
1019
|
-
type SparkFlashnetGetJwtParams = v.InferOutput<typeof sparkFlashnetGetJwtParamsSchema>;
|
|
1020
|
-
declare const sparkFlashnetGetJwtResultSchema: v.ObjectSchema<{
|
|
1021
|
-
/**
|
|
1022
|
-
* The JWT token for authenticated requests to the Flashnet API.
|
|
1023
|
-
*/
|
|
1024
|
-
readonly jwt: v.StringSchema<undefined>;
|
|
1025
|
-
}, undefined>;
|
|
1026
|
-
type SparkFlashnetGetJwtResult = v.InferOutput<typeof sparkFlashnetGetJwtResultSchema>;
|
|
1027
|
-
declare const sparkFlashnetGetJwtRequestMessageSchema: v.ObjectSchema<{
|
|
1028
|
-
readonly method: v.LiteralSchema<"spark_flashnet_getJwt", undefined>;
|
|
1029
|
-
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1030
|
-
/**
|
|
1031
|
-
* A message to be displayed to the user in the request prompt.
|
|
1032
|
-
*/
|
|
1033
|
-
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1034
|
-
}, undefined>, undefined>;
|
|
1035
|
-
readonly id: v.StringSchema<undefined>;
|
|
1036
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1037
|
-
}, undefined>;
|
|
1038
|
-
type SparkFlashnetGetJwtRequestMessage = v.InferOutput<typeof sparkFlashnetGetJwtRequestMessageSchema>;
|
|
1039
|
-
type SparkFlashnetGetJwt = MethodParamsAndResult<SparkFlashnetGetJwtParams, SparkFlashnetGetJwtResult>;
|
|
1040
|
-
|
|
1041
|
-
declare const sparkFlashnetRouteSwapIntentSchema: v.ObjectSchema<{
|
|
1042
|
-
readonly type: v.LiteralSchema<"executeRouteSwap", undefined>;
|
|
1043
|
-
readonly data: v.ObjectSchema<{
|
|
1044
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1045
|
-
readonly initialSparkTransferId: v.StringSchema<undefined>;
|
|
1046
|
-
readonly hops: v.ArraySchema<v.ObjectSchema<{
|
|
1047
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1048
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1049
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1050
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1051
|
-
}, undefined>, undefined>;
|
|
1052
|
-
readonly inputAmount: v.StringSchema<undefined>;
|
|
1053
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1054
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1055
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1056
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1057
|
-
}, undefined>;
|
|
1058
|
-
}, undefined>;
|
|
1059
|
-
|
|
1060
|
-
declare const sparkFlashnetSwapIntentSchema: v.ObjectSchema<{
|
|
1061
|
-
readonly type: v.LiteralSchema<"executeSwap", undefined>;
|
|
1062
|
-
readonly data: v.ObjectSchema<{
|
|
1063
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1064
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1065
|
-
readonly transferId: v.StringSchema<undefined>;
|
|
1066
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1067
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1068
|
-
readonly amountIn: v.StringSchema<undefined>;
|
|
1069
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1070
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1071
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1072
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1073
|
-
}, undefined>;
|
|
1074
|
-
}, undefined>;
|
|
1075
|
-
|
|
1076
|
-
declare const sparkFlashnetSignIntentMethodName = "spark_flashnet_signIntent";
|
|
1077
|
-
declare const sparkFlashnetSignIntentParamsSchema: v.UnionSchema<[v.ObjectSchema<{
|
|
1078
|
-
readonly type: v.LiteralSchema<"executeSwap", undefined>;
|
|
1079
|
-
readonly data: v.ObjectSchema<{
|
|
1080
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1081
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1082
|
-
readonly transferId: v.StringSchema<undefined>;
|
|
1083
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1084
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1085
|
-
readonly amountIn: v.StringSchema<undefined>;
|
|
1086
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1087
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1088
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1089
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1090
|
-
}, undefined>;
|
|
1091
|
-
}, undefined>, v.ObjectSchema<{
|
|
1092
|
-
readonly type: v.LiteralSchema<"executeRouteSwap", undefined>;
|
|
1093
|
-
readonly data: v.ObjectSchema<{
|
|
1094
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1095
|
-
readonly initialSparkTransferId: v.StringSchema<undefined>;
|
|
1096
|
-
readonly hops: v.ArraySchema<v.ObjectSchema<{
|
|
1097
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1098
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1099
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1100
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1101
|
-
}, undefined>, undefined>;
|
|
1102
|
-
readonly inputAmount: v.StringSchema<undefined>;
|
|
1103
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1104
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1105
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1106
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1107
|
-
}, undefined>;
|
|
1108
|
-
}, undefined>], undefined>;
|
|
1109
|
-
type SparkFlashnetSignIntentParams = v.InferOutput<typeof sparkFlashnetSignIntentParamsSchema>;
|
|
1110
|
-
declare const sparkFlashnetSignIntentResultSchema: v.ObjectSchema<{
|
|
1111
|
-
/**
|
|
1112
|
-
* The signed intent as a hex string.
|
|
1113
|
-
*/
|
|
1114
|
-
readonly signature: v.StringSchema<undefined>;
|
|
1115
|
-
}, undefined>;
|
|
1116
|
-
type SparkFlashnetSignIntentResult = v.InferOutput<typeof sparkFlashnetSignIntentResultSchema>;
|
|
1117
|
-
declare const sparkFlashnetSignIntentRequestMessageSchema: v.ObjectSchema<{
|
|
1118
|
-
readonly method: v.LiteralSchema<"spark_flashnet_signIntent", undefined>;
|
|
1119
|
-
readonly params: v.UnionSchema<[v.ObjectSchema<{
|
|
1120
|
-
readonly type: v.LiteralSchema<"executeSwap", undefined>;
|
|
1121
|
-
readonly data: v.ObjectSchema<{
|
|
1122
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1123
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1124
|
-
readonly transferId: v.StringSchema<undefined>;
|
|
1125
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1126
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1127
|
-
readonly amountIn: v.StringSchema<undefined>;
|
|
1128
|
-
readonly maxSlippageBps: v.NumberSchema<undefined>;
|
|
1129
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1130
|
-
readonly totalIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1131
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1132
|
-
}, undefined>;
|
|
1133
|
-
}, undefined>, v.ObjectSchema<{
|
|
1134
|
-
readonly type: v.LiteralSchema<"executeRouteSwap", undefined>;
|
|
1135
|
-
readonly data: v.ObjectSchema<{
|
|
1136
|
-
readonly userPublicKey: v.StringSchema<undefined>;
|
|
1137
|
-
readonly initialSparkTransferId: v.StringSchema<undefined>;
|
|
1138
|
-
readonly hops: v.ArraySchema<v.ObjectSchema<{
|
|
1139
|
-
readonly poolId: v.StringSchema<undefined>;
|
|
1140
|
-
readonly assetInAddress: v.StringSchema<undefined>;
|
|
1141
|
-
readonly assetOutAddress: v.StringSchema<undefined>;
|
|
1142
|
-
readonly hopIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1143
|
-
}, undefined>, undefined>;
|
|
1144
|
-
readonly inputAmount: v.StringSchema<undefined>;
|
|
1145
|
-
readonly maxRouteSlippageBps: v.NumberSchema<undefined>;
|
|
1146
|
-
readonly minAmountOut: v.StringSchema<undefined>;
|
|
1147
|
-
readonly defaultIntegratorFeeRateBps: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1148
|
-
readonly nonce: v.StringSchema<undefined>;
|
|
1149
|
-
}, undefined>;
|
|
1150
|
-
}, undefined>], undefined>;
|
|
1151
|
-
readonly id: v.StringSchema<undefined>;
|
|
1152
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1153
|
-
}, undefined>;
|
|
1154
|
-
type SparkFlashnetSignIntentRequestMessage = v.InferOutput<typeof sparkFlashnetSignIntentRequestMessageSchema>;
|
|
1155
|
-
type SparkFlashnetSignIntent = MethodParamsAndResult<SparkFlashnetSignIntentParams, SparkFlashnetSignIntentResult>;
|
|
1156
|
-
|
|
1157
1014
|
declare const sparkGetAddressesMethodName = "spark_getAddresses";
|
|
1158
1015
|
declare const sparkGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1159
1016
|
/**
|
|
@@ -2252,8 +2109,6 @@ type SparkRequests = {
|
|
|
2252
2109
|
[sparkGetBalanceMethodName]: SparkGetBalance;
|
|
2253
2110
|
[sparkTransferMethodName]: SparkTransfer;
|
|
2254
2111
|
[sparkTransferTokenMethodName]: SparkTransferToken;
|
|
2255
|
-
[sparkFlashnetGetJwtMethodName]: SparkFlashnetGetJwt;
|
|
2256
|
-
[sparkFlashnetSignIntentMethodName]: SparkFlashnetSignIntent;
|
|
2257
2112
|
};
|
|
2258
2113
|
type SparkRequestMethod = keyof SparkRequests;
|
|
2259
2114
|
type BtcRequests = {
|
|
@@ -2343,4 +2198,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2343
2198
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2344
2199
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2345
2200
|
|
|
2346
|
-
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkFlashnetGetJwt, type SparkFlashnetGetJwtParams, type SparkFlashnetGetJwtRequestMessage, type SparkFlashnetGetJwtResult, type SparkFlashnetSignIntent, type SparkFlashnetSignIntentParams, type SparkFlashnetSignIntentRequestMessage, type SparkFlashnetSignIntentResult, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkFlashnetGetJwtMethodName, sparkFlashnetGetJwtParamsSchema, sparkFlashnetGetJwtRequestMessageSchema, sparkFlashnetGetJwtResultSchema, sparkFlashnetRouteSwapIntentSchema, sparkFlashnetSignIntentMethodName, sparkFlashnetSignIntentParamsSchema, sparkFlashnetSignIntentRequestMessageSchema, sparkFlashnetSignIntentResultSchema, sparkFlashnetSwapIntentSchema, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|
|
2201
|
+
export { type AccountChangeCallback, type AccountChangeEvent, type AddListener, type AddNetwork, type AddNetworkParams, type AddNetworkRequestMessage, type AddNetworkResult, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type ChangeNetwork, type ChangeNetworkById, type ChangeNetworkByIdParams, type ChangeNetworkByIdRequestMessage, type ChangeNetworkByIdResult, type ChangeNetworkParams, type ChangeNetworkRequestMessage, type ChangeNetworkResult, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectCallback, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetNetwork, type GetNetworkParams, type GetNetworkRequestMessage, type GetNetworkResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, type ListenerInfo, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeCallback, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type SparkGetAddresses, type SparkGetAddressesParams, type SparkGetAddressesRequestMessage, type SparkGetAddressesResult, type SparkGetBalance, type SparkGetBalanceParams, type SparkGetBalanceRequestMessage, type SparkGetBalanceResult, SparkNetworkType, type SparkRequestMethod, type SparkRequests, type SparkTransfer, type SparkTransferParams, type SparkTransferRequestMessage, type SparkTransferResult, type SparkTransferToken, type SparkTransferTokenParams, type SparkTransferTokenRequestMessage, type SparkTransferTokenResult, StacksNetworkType, StarknetNetworkType, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxSignTransactions, type StxSignTransactionsParams, type StxSignTransactionsRequestMessage, type StxSignTransactionsResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, addListener, addNetworkMethodName, addNetworkParamsSchema, addNetworkRequestMessageSchema, addNetworkResultSchema, addressSchema, changeNetworkByIdMethodName, changeNetworkByIdParamsSchema, changeNetworkByIdRequestMessageSchema, changeNetworkByIdResultSchema, changeNetworkMethodName, changeNetworkParamsSchema, changeNetworkRequestMessageSchema, changeNetworkResultSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getNetworkMethodName, getNetworkParamsSchema, getNetworkRequestMessageSchema, getNetworkResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, sparkGetAddressesMethodName, sparkGetAddressesParamsSchema, sparkGetAddressesRequestMessageSchema, sparkGetAddressesResultSchema, sparkGetBalanceMethodName, sparkGetBalanceParamsSchema, sparkGetBalanceRequestMessageSchema, sparkGetBalanceResultSchema, sparkTransferMethodName, sparkTransferParamsSchema, sparkTransferRequestMessageSchema, sparkTransferResultSchema, sparkTransferTokenMethodName, sparkTransferTokenParamsSchema, sparkTransferTokenRequestMessageSchema, sparkTransferTokenResultSchema, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxSignTransactionsMethodName, stxSignTransactionsParamsSchema, stxSignTransactionsRequestMessageSchema, stxSignTransactionsResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|