@sats-connect/core 0.8.1-e76eede → 0.8.1-f2a77fa
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 +148 -2
- package/dist/index.d.ts +148 -2
- package/dist/index.js +277 -194
- package/dist/index.mjs +267 -194
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -346,7 +346,6 @@ type ListenerInfo = {
|
|
|
346
346
|
};
|
|
347
347
|
type AddListener = (arg: ListenerInfo) => () => void;
|
|
348
348
|
interface BaseBitcoinProvider {
|
|
349
|
-
version?: number;
|
|
350
349
|
request: <Method extends keyof Requests>(method: Method, options: Params<Method>, providerId?: string) => Promise<RpcResponse<Method>>;
|
|
351
350
|
connect: (request: string) => Promise<GetAddressResponse>;
|
|
352
351
|
signMessage: (request: string) => Promise<SignMessageResponse>;
|
|
@@ -1010,6 +1009,151 @@ declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
|
|
|
1010
1009
|
type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
|
|
1011
1010
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1012
1011
|
|
|
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
|
+
|
|
1013
1157
|
declare const sparkGetAddressesMethodName = "spark_getAddresses";
|
|
1014
1158
|
declare const sparkGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1015
1159
|
/**
|
|
@@ -2108,6 +2252,8 @@ type SparkRequests = {
|
|
|
2108
2252
|
[sparkGetBalanceMethodName]: SparkGetBalance;
|
|
2109
2253
|
[sparkTransferMethodName]: SparkTransfer;
|
|
2110
2254
|
[sparkTransferTokenMethodName]: SparkTransferToken;
|
|
2255
|
+
[sparkFlashnetGetJwtMethodName]: SparkFlashnetGetJwt;
|
|
2256
|
+
[sparkFlashnetSignIntentMethodName]: SparkFlashnetSignIntent;
|
|
2111
2257
|
};
|
|
2112
2258
|
type SparkRequestMethod = keyof SparkRequests;
|
|
2113
2259
|
type BtcRequests = {
|
|
@@ -2197,4 +2343,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2197
2343
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2198
2344
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2199
2345
|
|
|
2200
|
-
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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -346,7 +346,6 @@ type ListenerInfo = {
|
|
|
346
346
|
};
|
|
347
347
|
type AddListener = (arg: ListenerInfo) => () => void;
|
|
348
348
|
interface BaseBitcoinProvider {
|
|
349
|
-
version?: number;
|
|
350
349
|
request: <Method extends keyof Requests>(method: Method, options: Params<Method>, providerId?: string) => Promise<RpcResponse<Method>>;
|
|
351
350
|
connect: (request: string) => Promise<GetAddressResponse>;
|
|
352
351
|
signMessage: (request: string) => Promise<SignMessageResponse>;
|
|
@@ -1010,6 +1009,151 @@ declare const runesTransferRequestMessageSchema: v.ObjectSchema<{
|
|
|
1010
1009
|
type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMessageSchema>;
|
|
1011
1010
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1012
1011
|
|
|
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
|
+
|
|
1013
1157
|
declare const sparkGetAddressesMethodName = "spark_getAddresses";
|
|
1014
1158
|
declare const sparkGetAddressesParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1015
1159
|
/**
|
|
@@ -2108,6 +2252,8 @@ type SparkRequests = {
|
|
|
2108
2252
|
[sparkGetBalanceMethodName]: SparkGetBalance;
|
|
2109
2253
|
[sparkTransferMethodName]: SparkTransfer;
|
|
2110
2254
|
[sparkTransferTokenMethodName]: SparkTransferToken;
|
|
2255
|
+
[sparkFlashnetGetJwtMethodName]: SparkFlashnetGetJwt;
|
|
2256
|
+
[sparkFlashnetSignIntentMethodName]: SparkFlashnetSignIntent;
|
|
2111
2257
|
};
|
|
2112
2258
|
type SparkRequestMethod = keyof SparkRequests;
|
|
2113
2259
|
type BtcRequests = {
|
|
@@ -2197,4 +2343,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
2197
2343
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
2198
2344
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
2199
2345
|
|
|
2200
|
-
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 };
|
|
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 };
|