@silvana-one/api 1.0.12 → 1.0.15

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.
@@ -1,5 +1,5 @@
1
1
  import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
2
- import type { LaunchNftCollectionData, LaunchTokenData, GetContractInfoData, GetNftInfoData, GetNftV2InfoData, FaucetData, GetTokenInfoData, GetTokenBalanceData, GetNonceData, GetTokenHoldersData, GetTransactionsData, ProveData, GetProofData, SendTransactionData, TxStatusData, MintTokensData, MintNftData, TransferNftData, CmsStoreNftData, CmsReadNftData, CmsReserveNftData, ApproveNftData, SellNftData, BuyNftData, TransferTokensData, AirdropTokensData, RedeemTokensData, BurnTokensData, TokenBidData, TokenOfferData, BuyTokensData, SellTokensData, WithdrawTokenBidData, WithdrawTokenOfferData, UpdateTokenBidWhitelistData, UpdateTokenOfferWhitelistData, UpdateTokenAdminWhitelistData } from './types.gen.js';
2
+ import type { LaunchNftCollectionData, LaunchNftCollectionResponses, LaunchNftCollectionErrors, LaunchTokenData, LaunchTokenResponses, LaunchTokenErrors, GetContractInfoData, GetContractInfoResponses, GetContractInfoErrors, GetNftInfoData, GetNftInfoResponses, GetNftInfoErrors, GetNftV2InfoData, GetNftV2InfoResponses, GetNftV2InfoErrors, FaucetData, FaucetResponses, FaucetErrors, GetTokenInfoData, GetTokenInfoResponses, GetTokenInfoErrors, GetTokenBalanceData, GetTokenBalanceResponses, GetTokenBalanceErrors, GetNonceData, GetNonceResponses, GetNonceErrors, GetTokenHoldersData, GetTokenHoldersResponses, GetTokenHoldersErrors, GetTransactionsData, GetTransactionsResponses, GetTransactionsErrors, ProveData, ProveResponses, ProveErrors, GetProofData, GetProofResponses, GetProofErrors, SendTransactionData, SendTransactionResponses, SendTransactionErrors, TxStatusData, TxStatusResponses, TxStatusErrors, MintTokensData, MintTokensResponses, MintTokensErrors, MintNftData, MintNftResponses, MintNftErrors, TransferNftData, TransferNftResponses, TransferNftErrors, CmsStoreNftData, CmsStoreNftResponses, CmsStoreNftErrors, CmsReadNftData, CmsReadNftResponses, CmsReadNftErrors, CmsReserveNftData, CmsReserveNftResponses, CmsReserveNftErrors, ApproveNftData, ApproveNftResponses, ApproveNftErrors, SellNftData, SellNftResponses, SellNftErrors, BuyNftData, BuyNftResponses, BuyNftErrors, TransferTokensData, TransferTokensResponses, TransferTokensErrors, AirdropTokensData, AirdropTokensResponses, AirdropTokensErrors, RedeemTokensData, RedeemTokensResponses, RedeemTokensErrors, BurnTokensData, BurnTokensResponses, BurnTokensErrors, TokenBidData, TokenBidResponses, TokenBidErrors, TokenOfferData, TokenOfferResponses, TokenOfferErrors, BuyTokensData, BuyTokensResponses, BuyTokensErrors, SellTokensData, SellTokensResponses, SellTokensErrors, WithdrawTokenBidData, WithdrawTokenBidResponses, WithdrawTokenBidErrors, WithdrawTokenOfferData, WithdrawTokenOfferResponses, WithdrawTokenOfferErrors, UpdateTokenBidWhitelistData, UpdateTokenBidWhitelistResponses, UpdateTokenBidWhitelistErrors, UpdateTokenOfferWhitelistData, UpdateTokenOfferWhitelistResponses, UpdateTokenOfferWhitelistErrors, UpdateTokenAdminWhitelistData, UpdateTokenAdminWhitelistResponses, UpdateTokenAdminWhitelistErrors } from './types.gen.js';
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -19,7 +19,7 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
19
19
  * It allows users to create a new NFT Collection with customizable parameters.
20
20
  *
21
21
  */
22
- export declare const launchNftCollection: <ThrowOnError extends boolean = false>(options: Options<LaunchNftCollectionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
22
+ export declare const launchNftCollection: <ThrowOnError extends boolean = false>(options: Options<LaunchNftCollectionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<LaunchNftCollectionResponses, LaunchNftCollectionErrors, ThrowOnError, "fields">;
23
23
  /**
24
24
  * Deploy a new fungible token contract.
25
25
  * The `launch` endpoint is used to deploy a new fungible token on the Mina blockchain.
@@ -27,83 +27,83 @@ export declare const launchNftCollection: <ThrowOnError extends boolean = false>
27
27
  * decimals, URI, and admin contract type (standard or advanced).
28
28
  *
29
29
  */
30
- export declare const launchToken: <ThrowOnError extends boolean = false>(options: Options<LaunchTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
30
+ export declare const launchToken: <ThrowOnError extends boolean = false>(options: Options<LaunchTokenData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<LaunchTokenResponses, LaunchTokenErrors, ThrowOnError, "fields">;
31
31
  /**
32
32
  * Retrieve contract info
33
33
  * Retrieves detailed information about a contract.
34
34
  */
35
- export declare const getContractInfo: <ThrowOnError extends boolean = false>(options: Options<GetContractInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").ContractInfo[], import("./types.gen.js").ErrorResponse, ThrowOnError>;
35
+ export declare const getContractInfo: <ThrowOnError extends boolean = false>(options: Options<GetContractInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetContractInfoResponses, GetContractInfoErrors, ThrowOnError, "fields">;
36
36
  /**
37
37
  * Retrieve NFT Info for Mina NFT V3
38
38
  * Retrieves detailed information about a Mina NFT V3 (NFT standard).
39
39
  */
40
- export declare const getNftInfo: <ThrowOnError extends boolean = false>(options: Options<GetNftInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftRequestAnswer, import("./types.gen.js").ErrorResponse, ThrowOnError>;
40
+ export declare const getNftInfo: <ThrowOnError extends boolean = false>(options: Options<GetNftInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetNftInfoResponses, GetNftInfoErrors, ThrowOnError, "fields">;
41
41
  /**
42
42
  * Retrieve NFT Info for Mina NFT V2
43
43
  * Retrieves detailed information about a Mina NFT V2.
44
44
  */
45
- export declare const getNftV2Info: <ThrowOnError extends boolean = false>(options: Options<GetNftV2InfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftV2RequestAnswer, import("./types.gen.js").ErrorResponse, ThrowOnError>;
45
+ export declare const getNftV2Info: <ThrowOnError extends boolean = false>(options: Options<GetNftV2InfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetNftV2InfoResponses, GetNftV2InfoErrors, ThrowOnError, "fields">;
46
46
  /**
47
47
  * Request Funds from Faucet
48
48
  * Requests funds from the faucet for testing purposes.
49
49
  */
50
- export declare const faucet: <ThrowOnError extends boolean = false>(options: Options<FaucetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").FaucetResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
50
+ export declare const faucet: <ThrowOnError extends boolean = false>(options: Options<FaucetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<FaucetResponses, FaucetErrors, ThrowOnError, "fields">;
51
51
  /**
52
52
  * Retrieve information about a fungible token.
53
53
  * The `info` endpoint retrieves detailed information about a specific fungible token deployed on the Mina blockchain.
54
54
  *
55
55
  */
56
- export declare const getTokenInfo: <ThrowOnError extends boolean = false>(options: Options<GetTokenInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenState, import("./types.gen.js").ErrorResponse, ThrowOnError>;
56
+ export declare const getTokenInfo: <ThrowOnError extends boolean = false>(options: Options<GetTokenInfoData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTokenInfoResponses, GetTokenInfoErrors, ThrowOnError, "fields">;
57
57
  /**
58
58
  * Retrieve the balance of a specific token for an address.
59
59
  * The `balance` endpoint retrieves the balance of a specific fungible token for a given Mina address.
60
60
  *
61
61
  */
62
- export declare const getTokenBalance: <ThrowOnError extends boolean = false>(options: Options<GetTokenBalanceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").BalanceResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
62
+ export declare const getTokenBalance: <ThrowOnError extends boolean = false>(options: Options<GetTokenBalanceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTokenBalanceResponses, GetTokenBalanceErrors, ThrowOnError, "fields">;
63
63
  /**
64
64
  * Retrieve the nonce for an address
65
65
  * The `nonce` endpoint retrieves the nonce for a given Mina address, taking into account the pending transactions.
66
66
  *
67
67
  */
68
- export declare const getNonce: <ThrowOnError extends boolean = false>(options: Options<GetNonceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NonceResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
68
+ export declare const getNonce: <ThrowOnError extends boolean = false>(options: Options<GetNonceData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetNonceResponses, GetNonceErrors, ThrowOnError, "fields">;
69
69
  /**
70
70
  * Retrieve the holders of a token
71
71
  * The `holders` endpoint retrieves the holders of a token.
72
72
  *
73
73
  */
74
- export declare const getTokenHolders: <ThrowOnError extends boolean = false>(options: Options<GetTokenHoldersData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenHoldersResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
74
+ export declare const getTokenHolders: <ThrowOnError extends boolean = false>(options: Options<GetTokenHoldersData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTokenHoldersResponses, GetTokenHoldersErrors, ThrowOnError, "fields">;
75
75
  /**
76
76
  * Retrieve the transactions of a address
77
77
  * The `transactions` endpoint retrieves the transactions of a address.
78
78
  *
79
79
  */
80
- export declare const getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TransactionsListResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
80
+ export declare const getTransactions: <ThrowOnError extends boolean = false>(options: Options<GetTransactionsData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetTransactionsResponses, GetTransactionsErrors, ThrowOnError, "fields">;
81
81
  /**
82
82
  * Generate proofs for signed token transactions.
83
83
  * The `prove` endpoint initiates the proof generation process for a set of signed token transactions.
84
84
  * It returns a job ID which can be used to check the status and retrieve the proofs or tx hashes using the `/proof` endpoint.
85
85
  *
86
86
  */
87
- export declare const prove: <ThrowOnError extends boolean = false>(options: Options<ProveData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobId, import("./types.gen.js").ErrorResponse, ThrowOnError>;
87
+ export declare const prove: <ThrowOnError extends boolean = false>(options: Options<ProveData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<ProveResponses, ProveErrors, ThrowOnError, "fields">;
88
88
  /**
89
89
  * Check the status of a proof generation job and retrieve proofs.
90
90
  * The `proof` endpoint allows you to check the status of a proof generation job initiated via the `/prove` endpoint.
91
91
  * It returns the status of the job and the proofs or tx hashes if they are ready.
92
92
  *
93
93
  */
94
- export declare const getProof: <ThrowOnError extends boolean = false>(options: Options<GetProofData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").JobResults, import("./types.gen.js").ErrorResponse, ThrowOnError>;
94
+ export declare const getProof: <ThrowOnError extends boolean = false>(options: Options<GetProofData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<GetProofResponses, GetProofErrors, ThrowOnError, "fields">;
95
95
  /**
96
96
  * Send a transaction to the Mina blockchain.
97
97
  * The `send` endpoint allows you to send a transaction to the Mina blockchain.
98
98
  *
99
99
  */
100
- export declare const sendTransaction: <ThrowOnError extends boolean = false>(options: Options<SendTransactionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").SendTransactionReply, import("./types.gen.js").ErrorResponse, ThrowOnError>;
100
+ export declare const sendTransaction: <ThrowOnError extends boolean = false>(options: Options<SendTransactionData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<SendTransactionResponses, SendTransactionErrors, ThrowOnError, "fields">;
101
101
  /**
102
102
  * Retrieve the status of a transaction by its hash.
103
103
  * The `tx-status` endpoint allows you to check the current status of a transaction on the Mina blockchain by providing the transaction hash. It returns whether the transaction has been applied, failed, or is still pending.
104
104
  *
105
105
  */
106
- export declare const txStatus: <ThrowOnError extends boolean = false>(options: Options<TxStatusData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TransactionStatus, import("./types.gen.js").ErrorResponse, ThrowOnError>;
106
+ export declare const txStatus: <ThrowOnError extends boolean = false>(options: Options<TxStatusData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<TxStatusResponses, TxStatusErrors, ThrowOnError, "fields">;
107
107
  /**
108
108
  * Mint new tokens to a specified address.
109
109
  * The `mint` endpoint allows authorized users to mint new tokens of a fungible token on the Mina blockchain.
@@ -111,7 +111,7 @@ export declare const txStatus: <ThrowOnError extends boolean = false>(options: O
111
111
  * The sender must have the authority to mint tokens, typically the admin of the token contract.
112
112
  *
113
113
  */
114
- export declare const mintTokens: <ThrowOnError extends boolean = false>(options: Options<MintTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
114
+ export declare const mintTokens: <ThrowOnError extends boolean = false>(options: Options<MintTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<MintTokensResponses, MintTokensErrors, ThrowOnError, "fields">;
115
115
  /**
116
116
  * Mint new NFT to a specified address.
117
117
  * The `mint` endpoint allows authorized users to mint new NFT on the Mina blockchain.
@@ -119,143 +119,136 @@ export declare const mintTokens: <ThrowOnError extends boolean = false>(options:
119
119
  * The sender must have the authority to mint NFTs, typically the admin of the NFT contract.
120
120
  *
121
121
  */
122
- export declare const mintNft: <ThrowOnError extends boolean = false>(options: Options<MintNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
122
+ export declare const mintNft: <ThrowOnError extends boolean = false>(options: Options<MintNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<MintNftResponses, MintNftErrors, ThrowOnError, "fields">;
123
123
  /**
124
124
  * Transfer NFT to a specified address.
125
125
  * The `transfer` endpoint allows authorized users to transfer NFT on the Mina blockchain.
126
126
  * The sender must have the authority to transfer NFTs, being the owner or approved address of the NFT.
127
127
  *
128
128
  */
129
- export declare const transferNft: <ThrowOnError extends boolean = false>(options: Options<TransferNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
129
+ export declare const transferNft: <ThrowOnError extends boolean = false>(options: Options<TransferNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<TransferNftResponses, TransferNftErrors, ThrowOnError, "fields">;
130
130
  /**
131
131
  * Store on-demand NFT in CMS
132
132
  * The `store` endpoint allows collection creators to store on-demand NFT in CMS.
133
133
  *
134
134
  */
135
- export declare const cmsStoreNft: <ThrowOnError extends boolean = false>(options: Options<CmsStoreNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
136
- success?: boolean;
137
- }, import("./types.gen.js").ErrorResponse, ThrowOnError>;
135
+ export declare const cmsStoreNft: <ThrowOnError extends boolean = false>(options: Options<CmsStoreNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<CmsStoreNftResponses, CmsStoreNftErrors, ThrowOnError, "fields">;
138
136
  /**
139
137
  * Read on-demand NFT from CMS
140
138
  * The `read` endpoint allows collection creators to read on-demand NFT from CMS.
141
139
  *
142
140
  */
143
- export declare const cmsReadNft: <ThrowOnError extends boolean = false>(options: Options<CmsReadNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
144
- nfts?: Array<import("./types.gen.js").CmsnftData>;
145
- }, import("./types.gen.js").ErrorResponse, ThrowOnError>;
141
+ export declare const cmsReadNft: <ThrowOnError extends boolean = false>(options: Options<CmsReadNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<CmsReadNftResponses, CmsReadNftErrors, ThrowOnError, "fields">;
146
142
  /**
147
143
  * Reserve or remove reserve of on-demand NFT in CMS
148
144
  * The `reserve` endpoint allows collection admins to reserve or remove reserve of on-demand NFT in CMS.
149
145
  *
150
146
  */
151
- export declare const cmsReserveNft: <ThrowOnError extends boolean = false>(options: Options<CmsReserveNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<{
152
- reserved?: boolean;
153
- nft?: import("./types.gen.js").CmsnftData;
154
- }, import("./types.gen.js").ErrorResponse, ThrowOnError>;
147
+ export declare const cmsReserveNft: <ThrowOnError extends boolean = false>(options: Options<CmsReserveNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<CmsReserveNftResponses, CmsReserveNftErrors, ThrowOnError, "fields">;
155
148
  /**
156
149
  * Approve a specified address to transfer NFT.
157
150
  * The `approve` endpoint allows authorized users to approve a specified address to transfer NFT.
158
151
  * The sender must have the authority to approve NFTs, being the owner of the NFT.
159
152
  *
160
153
  */
161
- export declare const approveNft: <ThrowOnError extends boolean = false>(options: Options<ApproveNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
154
+ export declare const approveNft: <ThrowOnError extends boolean = false>(options: Options<ApproveNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<ApproveNftResponses, ApproveNftErrors, ThrowOnError, "fields">;
162
155
  /**
163
156
  * Sell NFT at a specified price by creating a Offer contract.
164
157
  * The `sell` endpoint allows authorized users to sell NFT on the Mina blockchain.
165
158
  * The sender must have the authority to sell NFTs, being the owner of the NFT or approved address.
166
159
  *
167
160
  */
168
- export declare const sellNft: <ThrowOnError extends boolean = false>(options: Options<SellNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
161
+ export declare const sellNft: <ThrowOnError extends boolean = false>(options: Options<SellNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<SellNftResponses, SellNftErrors, ThrowOnError, "fields">;
169
162
  /**
170
163
  * Buy NFT.
171
164
  * The `buy` endpoint allows authorized users to buy NFT on the Mina blockchain.
172
165
  *
173
166
  */
174
- export declare const buyNft: <ThrowOnError extends boolean = false>(options: Options<BuyNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").NftTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
167
+ export declare const buyNft: <ThrowOnError extends boolean = false>(options: Options<BuyNftData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<BuyNftResponses, BuyNftErrors, ThrowOnError, "fields">;
175
168
  /**
176
169
  * Transfer tokens from one address to another.
177
170
  * The `transfer` endpoint allows users to transfer tokens of a fungible token on the Mina blockchain from one address to another.
178
171
  * The sender must have sufficient balance and appropriate permissions to perform the transfer.
179
172
  *
180
173
  */
181
- export declare const transferTokens: <ThrowOnError extends boolean = false>(options: Options<TransferTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
174
+ export declare const transferTokens: <ThrowOnError extends boolean = false>(options: Options<TransferTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<TransferTokensResponses, TransferTokensErrors, ThrowOnError, "fields">;
182
175
  /**
183
176
  * Distribute tokens to multiple addresses via airdrop.
184
177
  * Allows users to distribute tokens to multiple addresses in a single transaction.
185
178
  * This is efficient for distributing tokens during events like token launches or community rewards.
186
179
  *
187
180
  */
188
- export declare const airdropTokens: <ThrowOnError extends boolean = false>(options: Options<AirdropTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").AirdropTransactionResponse, import("./types.gen.js").ErrorResponse, ThrowOnError>;
181
+ export declare const airdropTokens: <ThrowOnError extends boolean = false>(options: Options<AirdropTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<AirdropTokensResponses, AirdropTokensErrors, ThrowOnError, "fields">;
189
182
  /**
190
183
  * Redeem tokens for a MINA (applicable for Fungible Tokens with Bonding Curve Admin)
191
184
  * The `redeem` endpoint allows users to redeem tokens of a fungible token on the Mina blockchain for a MINA.
192
185
  * The sender must have sufficient balance and appropriate permissions to perform the transfer.
193
186
  *
194
187
  */
195
- export declare const redeemTokens: <ThrowOnError extends boolean = false>(options: Options<RedeemTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
188
+ export declare const redeemTokens: <ThrowOnError extends boolean = false>(options: Options<RedeemTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<RedeemTokensResponses, RedeemTokensErrors, ThrowOnError, "fields">;
196
189
  /**
197
190
  * Burn tokens from one address.
198
191
  * The `burn` endpoint allows users to burn tokens of a fungible token on the Mina blockchain from one address.
199
192
  * The sender must have sufficient balance and appropriate permissions to perform the burn.
200
193
  *
201
194
  */
202
- export declare const burnTokens: <ThrowOnError extends boolean = false>(options: Options<BurnTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
195
+ export declare const burnTokens: <ThrowOnError extends boolean = false>(options: Options<BurnTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<BurnTokensResponses, BurnTokensErrors, ThrowOnError, "fields">;
203
196
  /**
204
197
  * Place a bid on a token
205
198
  * Allows users to place a bid on an token.
206
199
  *
207
200
  */
208
- export declare const tokenBid: <ThrowOnError extends boolean = false>(options: Options<TokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
201
+ export declare const tokenBid: <ThrowOnError extends boolean = false>(options: Options<TokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<TokenBidResponses, TokenBidErrors, ThrowOnError, "fields">;
209
202
  /**
210
203
  * Create an offer to sell tokens at a specified price.
211
204
  * Allows users to create an offer to sell a specified amount of tokens at a given price.
212
205
  *
213
206
  */
214
- export declare const tokenOffer: <ThrowOnError extends boolean = false>(options: Options<TokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
207
+ export declare const tokenOffer: <ThrowOnError extends boolean = false>(options: Options<TokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<TokenOfferResponses, TokenOfferErrors, ThrowOnError, "fields">;
215
208
  /**
216
209
  * Purchase tokens from an existing offer.
217
210
  * Allows users to purchase tokens from an existing offer on the Mina blockchain.
218
211
  * This endpoint facilitates the transaction where tokens are transferred from the offer address to the buyer's address in exchange for the specified price.
219
212
  *
220
213
  */
221
- export declare const buyTokens: <ThrowOnError extends boolean = false>(options: Options<BuyTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
214
+ export declare const buyTokens: <ThrowOnError extends boolean = false>(options: Options<BuyTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<BuyTokensResponses, BuyTokensErrors, ThrowOnError, "fields">;
222
215
  /**
223
216
  * Sell a token to the Bid contract.
224
217
  * Allows token owners to sell their tokens to the Bid contract.
225
218
  *
226
219
  */
227
- export declare const sellTokens: <ThrowOnError extends boolean = false>(options: Options<SellTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
220
+ export declare const sellTokens: <ThrowOnError extends boolean = false>(options: Options<SellTokensData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<SellTokensResponses, SellTokensErrors, ThrowOnError, "fields">;
228
221
  /**
229
222
  * Withdraw a previously placed bid on an token.
230
223
  * Allows users to withdraw a bid they have previously placed using the `/bid` endpoint.
231
224
  * This transaction cancels the active bid, releasing any locked funds.
232
225
  *
233
226
  */
234
- export declare const withdrawTokenBid: <ThrowOnError extends boolean = false>(options: Options<WithdrawTokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
227
+ export declare const withdrawTokenBid: <ThrowOnError extends boolean = false>(options: Options<WithdrawTokenBidData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<WithdrawTokenBidResponses, WithdrawTokenBidErrors, ThrowOnError, "fields">;
235
228
  /**
236
229
  * Withdraw a previously made offer to sell a token.
237
230
  * Allows users to withdraw an offer they have previously made using the `/offer` endpoint.
238
231
  * This transaction cancels the active offer, releasing any locked tokens.
239
232
  *
240
233
  */
241
- export declare const withdrawTokenOffer: <ThrowOnError extends boolean = false>(options: Options<WithdrawTokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
234
+ export declare const withdrawTokenOffer: <ThrowOnError extends boolean = false>(options: Options<WithdrawTokenOfferData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<WithdrawTokenOfferResponses, WithdrawTokenOfferErrors, ThrowOnError, "fields">;
242
235
  /**
243
236
  * Update the bid whitelist
244
237
  * Allows administrators to update the whitelist of addresses permitted to interact with the Bid contract.
245
238
  * This is essential for managing participation in bidding processes, especially for controlled or private auctions.
246
239
  *
247
240
  */
248
- export declare const updateTokenBidWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenBidWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
241
+ export declare const updateTokenBidWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenBidWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<UpdateTokenBidWhitelistResponses, UpdateTokenBidWhitelistErrors, ThrowOnError, "fields">;
249
242
  /**
250
243
  * Update the offer whitelist
251
244
  * Allows administrators to update the whitelist of addresses permitted to interact with the Offer contract.
252
245
  * This is essential for managing participation in offer processes, especially for controlled or private sales.
253
246
  *
254
247
  */
255
- export declare const updateTokenOfferWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenOfferWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
248
+ export declare const updateTokenOfferWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenOfferWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<UpdateTokenOfferWhitelistResponses, UpdateTokenOfferWhitelistErrors, ThrowOnError, "fields">;
256
249
  /**
257
250
  * Update the advanced admin whitelist
258
251
  * Allows administrators to update the whitelist of admin contracts.
259
252
  *
260
253
  */
261
- export declare const updateTokenAdminWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenAdminWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen.js").TokenTransaction, import("./types.gen.js").ErrorResponse, ThrowOnError>;
254
+ export declare const updateTokenAdminWhitelist: <ThrowOnError extends boolean = false>(options: Options<UpdateTokenAdminWhitelistData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<UpdateTokenAdminWhitelistResponses, UpdateTokenAdminWhitelistErrors, ThrowOnError, "fields">;
@@ -18,7 +18,7 @@ export const launchNftCollection = (options) => {
18
18
  ...options,
19
19
  headers: {
20
20
  'Content-Type': 'application/json',
21
- ...options?.headers
21
+ ...options.headers
22
22
  }
23
23
  });
24
24
  };
@@ -41,7 +41,7 @@ export const launchToken = (options) => {
41
41
  ...options,
42
42
  headers: {
43
43
  'Content-Type': 'application/json',
44
- ...options?.headers
44
+ ...options.headers
45
45
  }
46
46
  });
47
47
  };
@@ -61,7 +61,7 @@ export const getContractInfo = (options) => {
61
61
  ...options,
62
62
  headers: {
63
63
  'Content-Type': 'application/json',
64
- ...options?.headers
64
+ ...options.headers
65
65
  }
66
66
  });
67
67
  };
@@ -81,7 +81,7 @@ export const getNftInfo = (options) => {
81
81
  ...options,
82
82
  headers: {
83
83
  'Content-Type': 'application/json',
84
- ...options?.headers
84
+ ...options.headers
85
85
  }
86
86
  });
87
87
  };
@@ -101,7 +101,7 @@ export const getNftV2Info = (options) => {
101
101
  ...options,
102
102
  headers: {
103
103
  'Content-Type': 'application/json',
104
- ...options?.headers
104
+ ...options.headers
105
105
  }
106
106
  });
107
107
  };
@@ -121,7 +121,7 @@ export const faucet = (options) => {
121
121
  ...options,
122
122
  headers: {
123
123
  'Content-Type': 'application/json',
124
- ...options?.headers
124
+ ...options.headers
125
125
  }
126
126
  });
127
127
  };
@@ -142,7 +142,7 @@ export const getTokenInfo = (options) => {
142
142
  ...options,
143
143
  headers: {
144
144
  'Content-Type': 'application/json',
145
- ...options?.headers
145
+ ...options.headers
146
146
  }
147
147
  });
148
148
  };
@@ -163,7 +163,7 @@ export const getTokenBalance = (options) => {
163
163
  ...options,
164
164
  headers: {
165
165
  'Content-Type': 'application/json',
166
- ...options?.headers
166
+ ...options.headers
167
167
  }
168
168
  });
169
169
  };
@@ -184,7 +184,7 @@ export const getNonce = (options) => {
184
184
  ...options,
185
185
  headers: {
186
186
  'Content-Type': 'application/json',
187
- ...options?.headers
187
+ ...options.headers
188
188
  }
189
189
  });
190
190
  };
@@ -205,7 +205,7 @@ export const getTokenHolders = (options) => {
205
205
  ...options,
206
206
  headers: {
207
207
  'Content-Type': 'application/json',
208
- ...options?.headers
208
+ ...options.headers
209
209
  }
210
210
  });
211
211
  };
@@ -226,7 +226,7 @@ export const getTransactions = (options) => {
226
226
  ...options,
227
227
  headers: {
228
228
  'Content-Type': 'application/json',
229
- ...options?.headers
229
+ ...options.headers
230
230
  }
231
231
  });
232
232
  };
@@ -248,7 +248,7 @@ export const prove = (options) => {
248
248
  ...options,
249
249
  headers: {
250
250
  'Content-Type': 'application/json',
251
- ...options?.headers
251
+ ...options.headers
252
252
  }
253
253
  });
254
254
  };
@@ -270,7 +270,7 @@ export const getProof = (options) => {
270
270
  ...options,
271
271
  headers: {
272
272
  'Content-Type': 'application/json',
273
- ...options?.headers
273
+ ...options.headers
274
274
  }
275
275
  });
276
276
  };
@@ -291,7 +291,7 @@ export const sendTransaction = (options) => {
291
291
  ...options,
292
292
  headers: {
293
293
  'Content-Type': 'application/json',
294
- ...options?.headers
294
+ ...options.headers
295
295
  }
296
296
  });
297
297
  };
@@ -312,7 +312,7 @@ export const txStatus = (options) => {
312
312
  ...options,
313
313
  headers: {
314
314
  'Content-Type': 'application/json',
315
- ...options?.headers
315
+ ...options.headers
316
316
  }
317
317
  });
318
318
  };
@@ -335,7 +335,7 @@ export const mintTokens = (options) => {
335
335
  ...options,
336
336
  headers: {
337
337
  'Content-Type': 'application/json',
338
- ...options?.headers
338
+ ...options.headers
339
339
  }
340
340
  });
341
341
  };
@@ -358,7 +358,7 @@ export const mintNft = (options) => {
358
358
  ...options,
359
359
  headers: {
360
360
  'Content-Type': 'application/json',
361
- ...options?.headers
361
+ ...options.headers
362
362
  }
363
363
  });
364
364
  };
@@ -380,7 +380,7 @@ export const transferNft = (options) => {
380
380
  ...options,
381
381
  headers: {
382
382
  'Content-Type': 'application/json',
383
- ...options?.headers
383
+ ...options.headers
384
384
  }
385
385
  });
386
386
  };
@@ -401,7 +401,7 @@ export const cmsStoreNft = (options) => {
401
401
  ...options,
402
402
  headers: {
403
403
  'Content-Type': 'application/json',
404
- ...options?.headers
404
+ ...options.headers
405
405
  }
406
406
  });
407
407
  };
@@ -422,7 +422,7 @@ export const cmsReadNft = (options) => {
422
422
  ...options,
423
423
  headers: {
424
424
  'Content-Type': 'application/json',
425
- ...options?.headers
425
+ ...options.headers
426
426
  }
427
427
  });
428
428
  };
@@ -443,7 +443,7 @@ export const cmsReserveNft = (options) => {
443
443
  ...options,
444
444
  headers: {
445
445
  'Content-Type': 'application/json',
446
- ...options?.headers
446
+ ...options.headers
447
447
  }
448
448
  });
449
449
  };
@@ -465,7 +465,7 @@ export const approveNft = (options) => {
465
465
  ...options,
466
466
  headers: {
467
467
  'Content-Type': 'application/json',
468
- ...options?.headers
468
+ ...options.headers
469
469
  }
470
470
  });
471
471
  };
@@ -487,7 +487,7 @@ export const sellNft = (options) => {
487
487
  ...options,
488
488
  headers: {
489
489
  'Content-Type': 'application/json',
490
- ...options?.headers
490
+ ...options.headers
491
491
  }
492
492
  });
493
493
  };
@@ -508,7 +508,7 @@ export const buyNft = (options) => {
508
508
  ...options,
509
509
  headers: {
510
510
  'Content-Type': 'application/json',
511
- ...options?.headers
511
+ ...options.headers
512
512
  }
513
513
  });
514
514
  };
@@ -530,7 +530,7 @@ export const transferTokens = (options) => {
530
530
  ...options,
531
531
  headers: {
532
532
  'Content-Type': 'application/json',
533
- ...options?.headers
533
+ ...options.headers
534
534
  }
535
535
  });
536
536
  };
@@ -552,7 +552,7 @@ export const airdropTokens = (options) => {
552
552
  ...options,
553
553
  headers: {
554
554
  'Content-Type': 'application/json',
555
- ...options?.headers
555
+ ...options.headers
556
556
  }
557
557
  });
558
558
  };
@@ -574,7 +574,7 @@ export const redeemTokens = (options) => {
574
574
  ...options,
575
575
  headers: {
576
576
  'Content-Type': 'application/json',
577
- ...options?.headers
577
+ ...options.headers
578
578
  }
579
579
  });
580
580
  };
@@ -596,7 +596,7 @@ export const burnTokens = (options) => {
596
596
  ...options,
597
597
  headers: {
598
598
  'Content-Type': 'application/json',
599
- ...options?.headers
599
+ ...options.headers
600
600
  }
601
601
  });
602
602
  };
@@ -617,7 +617,7 @@ export const tokenBid = (options) => {
617
617
  ...options,
618
618
  headers: {
619
619
  'Content-Type': 'application/json',
620
- ...options?.headers
620
+ ...options.headers
621
621
  }
622
622
  });
623
623
  };
@@ -638,7 +638,7 @@ export const tokenOffer = (options) => {
638
638
  ...options,
639
639
  headers: {
640
640
  'Content-Type': 'application/json',
641
- ...options?.headers
641
+ ...options.headers
642
642
  }
643
643
  });
644
644
  };
@@ -660,7 +660,7 @@ export const buyTokens = (options) => {
660
660
  ...options,
661
661
  headers: {
662
662
  'Content-Type': 'application/json',
663
- ...options?.headers
663
+ ...options.headers
664
664
  }
665
665
  });
666
666
  };
@@ -681,7 +681,7 @@ export const sellTokens = (options) => {
681
681
  ...options,
682
682
  headers: {
683
683
  'Content-Type': 'application/json',
684
- ...options?.headers
684
+ ...options.headers
685
685
  }
686
686
  });
687
687
  };
@@ -703,7 +703,7 @@ export const withdrawTokenBid = (options) => {
703
703
  ...options,
704
704
  headers: {
705
705
  'Content-Type': 'application/json',
706
- ...options?.headers
706
+ ...options.headers
707
707
  }
708
708
  });
709
709
  };
@@ -725,7 +725,7 @@ export const withdrawTokenOffer = (options) => {
725
725
  ...options,
726
726
  headers: {
727
727
  'Content-Type': 'application/json',
728
- ...options?.headers
728
+ ...options.headers
729
729
  }
730
730
  });
731
731
  };
@@ -747,7 +747,7 @@ export const updateTokenBidWhitelist = (options) => {
747
747
  ...options,
748
748
  headers: {
749
749
  'Content-Type': 'application/json',
750
- ...options?.headers
750
+ ...options.headers
751
751
  }
752
752
  });
753
753
  };
@@ -769,7 +769,7 @@ export const updateTokenOfferWhitelist = (options) => {
769
769
  ...options,
770
770
  headers: {
771
771
  'Content-Type': 'application/json',
772
- ...options?.headers
772
+ ...options.headers
773
773
  }
774
774
  });
775
775
  };
@@ -790,7 +790,7 @@ export const updateTokenAdminWhitelist = (options) => {
790
790
  ...options,
791
791
  headers: {
792
792
  'Content-Type': 'application/json',
793
- ...options?.headers
793
+ ...options.headers
794
794
  }
795
795
  });
796
796
  };